Reply

SMA crossing envelope

2 replies

iam_newbie

Subscriber, bbp_participant, community, 4 replies.

Visit profile

12 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

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

12 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

0

iam_newbie

Subscriber, bbp_participant, community, 4 replies.

Visit profile

12 years ago #120663

thanks alot for this..
i will try to work out from your source.

appreciate your kindness.

0

Viewing 2 replies - 1 through 2 (of 2 total)