Hey there I want to calculate the % out of the range of a candle. and on the basis of that I want my EA to place orders on the next candle. but it's not working. please tell me where i have done wrong.
- kindly help
- [ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5.
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
Do you know what char means?
Just place you cursor above it and press F1.
You'd better use double.
Sorry. It was previously done. I have tried using double. But then also it is not working.
gooly:
Can you help in these please?
Do you know what char means?
Just place you cursor above it and press F1.
You'd better use double.
no need to multiply with Point!!
double a = (High[1]-Low[1])*0.04; // a is already in Points if (OrderSend(Symbol(),OP_BUYSTOP,lot,a+High[1],3,High[1],a+High[1]+tp*Point,NULL,magic,0,NULL)== true)
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