SMA crossing envelope
2 replies
iam_newbie
11 years ago #110600
Hi,
Im very new to the world of forex, mt4 and ea. I have no experience in coding at all.
I have purchased the license since its promote simplicity.
But im still unable to do anything with it..
Can somebody guide me how do i code this strategy?
[color=#000000][u]Go Long[/u][/color]
[color=#000000]
When SMA 2 closed above upper envelope paramter 50[/color][color=#000000]
Take profit 33[/color][color=#000000]
stop loss 44 pips[/color]
[color=#000000]
[u]Go Short[/u][/color][color=#000000]
When SMA 2 closed above below envelope paramter 50
Take profit 33
stop loss 44 pips
[/color]
* i need the options to change the sma and envelope parameters.
* i also need the options to use MM.
* i also need the options to change TP/SL
* i need the ea to open one position at any one time.
I would appreciate if any members here could guide me in STEPS, ho can i do this..
thanks in advance.
regards
ps: sorry for my poor english
Mark Fric
11 years ago #120657
Hello,
I made the strategy per your description, you can see it in the attachment.
If you’ll check it you’ll see it is relatively simple, the rules look just like you described them in natural language.
regards,
Mark
Mark
StrategyQuant architect
iam_newbie
11 years ago #120663
Viewing 2 replies - 1 through 2 (of 2 total)