@josecortesllobat Hello, I want a also a similar condition : BUY-SELL-BUY-SELL in opposite. But the indicator is not based on crossing average, it's my customized indicator.
Here is the pic :
0_1542320216387_kondisi BUY-SELL in opposite.png
BUY : if Red line is appear, and closes it if the blue line is apper
SELL : if the Blue line is appear, and close it if the Red line is appear
I had try to do as in example in this link but it's not working : https://fxdreema.com/examples#Simple-Programs
An then now I try to do like below pic (Setting the Block BUY & SELL) :
0_1542320504733_kondisi BUY-SELL in opposite1.png
I don't know whether the logic is correct or wrong. Please help me 🙂
Thank you