Hello there,
Could someone assist me please with creating an indicator, which I would be able to adjust myself later on.
Simple logic:
if (high-close) > (high-open), than X = 10 and Y = 20
if (high-close) <= (high-open), than X = 30 and Y = 40
I will have about 10 "if" like these, which gonna produce different outcomes for X and Y. The conditions would be done the way that each bar would not have more than one "if", so X and Y will not be mixed up.
A principle of indictor must be similar to Data Box. So, when I move a cursor, there must be shown a unique outcomes for each particular bar. Finally, I would like to see something like this in the right top corner: "X = 30 ; Y = 40".
I will highly appreciate somebody's help.
All the best,
Arthur
Comment