I need help on this
-
The Logic is to draw a line on Candle ID 6 only if candle ID 6 is above ID 12 -7 and ID 5 - 0
-
@tec-nacks your logic is right, maybe with some loop we can use a few block only..............i don't know
-
@ambrogio I thought so too but its not drawing it correctly... at all
It draws even when the logic isn't filled yet.
and about the loop you mentioned? Can you help with it pls/?
-
remove candle ID0
-
@ambrogio I did but still no accurate

If you look at where the line is drawn here, we should have 6 candles to the left side but it stopped at ID 4 actually
-
my bad, only now i see!! you have to put all the condition in one tree all togheter
-
@ambrogio yes, I also separated it, still no luck. worse
What can l do about this?
-
@tec-nacks you are right! Very strange! So i rewrote from scratch your blocks and it works now
-
@ambrogio ooh dear...Just imagine
Thank you so much
-
@ambrogio man, if l want to save the ID of Candle ID 6 for reference later, its gonna be like this right>?

-
@tec-nacks do not repeat variable in the candle id field, just put 6

put a comment block below modify variable and you can see
-
@ambrogio okay
-
@ambrogio I need your extending guide in this
I want to the pink line to draw to the lowest price from the ID 7 after the the ID 7 logic is filled. but in my case here it is not redrawing as expected look at the pic.

What adjustment am i to make it better?
https://fxdreema.com/shared/HVzVYKocc
because presently it only draws to the 7th lowest candle
-
In the modify variable you are assigning a price value at variable id_6 , it is not a candle id
Put 7 directly in the draw line block #71, just like block #51 -
you can use a few constant for your candle 7 , 1, and 13
-
@ambrogio I did this but its still not cutting it.
The idea is to draw the Lowest Low if 7 candles are away initial 7th candle.
Simply if the market drops 50 candles away and below from the initial 7th ID candle, the pink line should draw on the low of the lowest candle ID of that period.
So if candle ID 30 for the 7t initial candle is the lowest, and the price pulls up, the pink line should draw on the Low of the 30th candle and if the candle let say 45th then pulls below the 30th, that pink should move to the most recent lowest candle
the basic idea is to draw the pink line on the most recent lowest low 7 candles away from the 7th candle ID
So this is what I'm looking to acheive
-
@tec-nacks like for example here, it is supposed to draw on the most recent lowest low has pointed out here

-
@tec-nacks please write something on this screenshot

-
@ambrogio ok and thank you very much.
frpm your picture, the line will be drawn on the High of ID 1 because the next candle high is below ID1
but look at similar scenario

the Red line is for ID7 while the green line is for the most recent High looking backwards to the green line because there is no candle above the green line yet...because the market pulls back
-
Please, check this on H1 , for resistance (high) , just to understand if it works as you expect
https://fxdreema.com/shared/4ZWmF0O3e