Hi Chad.

Login or Register

Please login or register in order to view and post in the Forum.

1 post / 0 new
whatstop
Last seen: 1 year 4 months ago
Joined: 07/19/2018 - 03:43
Hi Chad.

I previously posted here:

https://www.linnsoft.com/topic/syntax-variable-question-cliff-notes-below

And am still curious about how to initialize, set, and hold variables. It seems every time I record a C# or V# variable it only stores the current value and will not plot historically.

Anyways, for the study I am working on I have worked around that. Now I am attempting to figure out how to incorporate two signals

1) Signal 1 triggers. I reference the previous pivot price on the pivot preceding signal 1.

2) Signal 2 is true as long as the lowest price since Signal 1 does not cross below the pivot price preceding signal 1

From here I am interested in the max move, which I ultimately want to store when Signal 1 becomes false and then profile.

The issue I am facing is having multiple signal 1 triggers, resulting in the pivot price being referenced changing. I would like to say Signal 1 is only true if Signal 2 is false, however, Signal 2 references values from Signal 1 and so obviously that will be self referencing. Do you have any suggestions on how I might accomplish that?

The chart is below:

https://www.linnsoft.com/charts/delta-study-es

The 2nd pane displays the pivot price previous to Signal 1, the third pane displays that value as well as the lowest price since Signal 1. I can see everything lines up, but multiple signals is an issue.

Thanks for your help

0