Download MetaTrader 5
To add comments, please log in or register
Traders have already contributed more than 300 articles. Write your own one!
Ondral
8
Ondral 2016.03.11 22:07 

Can somebody help me, how can I write the code, because I am beginner of programming in mql.

In My strategy are two Simple Moving Average and Average Directional Movement Index.

I want open buy, when SMAB>SMAR && PlusDI>MinusDI && ADX>ADXLevel

And I close it on TakeProfit or Stoploss. If the buy closed, I want wait to open sell, NO open next order buy.

When MAs intersect I want open only one trade to next MAs intersect.

I don't know, how can I continue with programming.

Thank you very much!

Files:
script.ex4 10 kb
Vasyl Nosal
18204
Vasyl Nosal 2016.03.11 23:37  
https://book.mql4.com/practice
whroeder1
13600
whroeder1 2016.03.12 01:02  
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
/
To add comments, please log in or register