Need help coding a simple strategy

Back to topics list To post a new topic, please log in or register
avatar
7
traderbino 2015.02.04 07:43
 

Hi,

I'm new to MQL I am working on an EA with a simple strategy trading on a certain price levels. My defined price levels are 00, 20, 50 and 80. So let's say in a EUR/USD pair if the last two to three bars closes at my trigger price level i.e. 1.30500 then I will execute a trade with a take profit at the next price level which is 1.30520.

Please note that I already have the code to open/close & modify trades, it's just the algorithm that I am having a hard time. 

Thanks in advance.  

avatar
1211
deysmacro 2015.02.04 08:14 #
 
Ask here ... https://www.mql5.com/en/job
avatar
7
traderbino 2015.02.04 11:14 #
 
deysmacro:
Ask here ... https://www.mql5.com/en/job
Thanks for the suggestion. Just want to ask for at least a code snippet that will give me at least something to start off.
avatar
1211
deysmacro 2015.02.04 11:18 #
 

Well. Show us your attempt first. Spoon feeding is not gonna happen here.

If you do some homework, you would actually find something useful for you. > https://www.mql5.com/en/code/mt4

avatar
12985
WHRoeder 2015.02.04 15:12 #
 
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.
Back to topics list  

To add comments, please log in or register