here is my problem ...I need to be able to compare each new (completed) bar to a specific bar in the recent past...i have read and looked at nearly everything and cant find the answer..im so freaking frustrated..please can someone help...
on the chart below i've marked a bar with a small blue X and highlighted it with a white box (for visual aid)...some how i need the code to be able to compare each new completed bar with that bar marked x...what i tried to do was code an if statement saying ( this is an example for the sake of ease, btw..) "if (open (-1) < close (-2) draw a blue X on (-2)" ..and i got that to work!! but when i tried to make a var. with the results of the same if statement, so that i could compare each new bar to that var., it won't work!!! what am i doing wrong??? thank you very much to anyone who can help and Merry Christmas to everyone!!!
on the chart below i've marked a bar with a small blue X and highlighted it with a white box (for visual aid)...some how i need the code to be able to compare each new completed bar with that bar marked x...what i tried to do was code an if statement saying ( this is an example for the sake of ease, btw..) "if (open (-1) < close (-2) draw a blue X on (-2)" ..and i got that to work!! but when i tried to make a var. with the results of the same if statement, so that i could compare each new bar to that var., it won't work!!! what am i doing wrong??? thank you very much to anyone who can help and Merry Christmas to everyone!!!
Comment