comment block
-
How can I store high n low current day at comment block, and reser it everyday?
-
@robotman said in comment block:
How can I store high n low current day at comment block, and reser it everyday?
- *create new variables *var1(ydayhigh) & var2 (ydfaylow)
once per bar, daily
modify variables like my picture

then go put var 1 in the first and var2 in the second.
Comment block below. done.
- *create new variables *var1(ydayhigh) & var2 (ydfaylow)
-
https://fxdreema.com/shared/6NEDcGqve
I'm just doing like your instruction. Sorry if I'm wrong. I run it, but it show a yesterday high and low
-
hah, my bad...just change it to C0 then.
It will reset every time there is a new day with a new high or new low, just remove once per bar.
-
@tipsywisdom C0? Candle ID 0?
-
@robotman said in comment block:
@tipsywisdom C0? Candle ID 0?
Yes, C0 is current.
But you only asked for it once per day...well, its going to make a new high and new low more than once per day so I dont know how that logic is going to work. I think thats why I assumed you meant Yesterdays Candle info