Hello
i assume this
if(Open[1] < Close[1] && Close[1] < LivelloDownBuy && Open[1] > LivelloDownBuy) //buy
must be like this
if(Open[1] < Close[1] && Close[1] > LivelloDownBuy && Open[1] < LivelloDownBuy) //buy
Because :
- Close[1]>Livello>Open[1]possible but
- Close[1]<Livello<Open[1] and Open[1]<Close[1]not possible
Thank you now it works
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I can't understand why it only opens sell operations I can't find the error can someone give me a hand?