Try like thistradre wrote: Sat Jul 15, 2017 6:59 pm Hello mladen thanks for the reply im still a newbie at coding ,i dont know how to store the break using buffers.I would really appreciate if you would look at my code which i have attached.I used icustom to get buffers from kazi_high_low.
My rules according to the picture i have attached are:
1.The candle breaks previous resistance .
2.if (new resistance is formed) ,check for two bearish candles
3.Arrow is drawn
4.no arrows should afterwards after the first arrow
Dont bother with buy arrows i just need the sell arrows.
i have coded part 2 and 3,the problem is coding part 1 and part 4
Regards,
Tradre
Add the rest of the conditions - they were conflicting - I left only the levels conditions, you have to add the rest and adjust it to work exactly the way you want it but in this code you can see how it is done