Reply

How to use ” Previous indicator’s Data ” in SMA ( EA Wizard )

9 replies

Fx Mena

Customer, bbp_participant, community, sq-ultimate, 23 replies.

Visit profile

8 years ago #113940

Hello Mr Marc Fric and Dear All Developers

 

I’m Trying to Set SMA ( Simple Moving Average ) to use Previous indicator’s Data in EA WIZARD

but this Option it seem not available , PLEASE we NEED Exemple.SQW

 

 

LsFT9KS.png

 

on EA Wizard

 

iXq3F8a.png

0

Threshold

Customer, bbp_participant, community, 723 replies.

Visit profile

8 years ago #131374

In functions- “indicator’s average” for SMA applied to indicator.

0

Fx Mena

Customer, bbp_participant, community, sq-ultimate, 23 replies.

Visit profile

8 years ago #131406

In functions- “indicator’s average” for SMA applied to indicator.

 

HELLO

 

i know but how to Apply ?

can you please send me example .sqw file .

0

Fx Mena

Customer, bbp_participant, community, sq-ultimate, 23 replies.

Visit profile

8 years ago #131968

In functions- “indicator’s average” for SMA applied to indicator.

 

Funtion Not found in “Indicator’s Average” , there is no Option to use Previous indicator’s Data in EA WIZARD

 

*************************

 

Vc04azH.png

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #131982

Hi,

 

in the example attached I calculate 10 bars simple average of SMA 50. If this average is greater than SMA 120 I buy.

 

Is this what you need?

0

Fx Mena

Customer, bbp_participant, community, sq-ultimate, 23 replies.

Visit profile

8 years ago #131990

Thanks for Example , But Not Give the same Value as Ploted in Metatrader .

If we use the exemple ABOVE in Ea Wizard, the Mt4 will use SMA as CLOSE not previous data .

 

After the end of backtest i checked the ploted SMA , i have found that the expert sitll use CLOSE data .

 

sJoAlAX.png

 

 

 

But The correct value is set like this .

 

 

XcVT4CK.png

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #132048

This option is only available in MetaTrader 5. Wizard was initially optimized to generate strategies for MetaTrader 4. But you can still calculate Moving Average of Moving Average in EA Wizard using Indicator Average function which is what you need I think. If you can translate your trading system into words I can help you set it up in EA Wizard. I believe it can be done

0

Fx Mena

Customer, bbp_participant, community, sq-ultimate, 23 replies.

Visit profile

8 years ago #132072

This option is only available in MetaTrader 5. Wizard was initially optimized to generate strategies for MetaTrader 4. But you can still calculate Moving Average of Moving Average in EA Wizard using Indicator Average function which is what you need I think. If you can translate your trading system into words I can help you set it up in EA Wizard. I believe it can be done

 

Strategy is Simple :

 

2 MA Cross over ,

– The first MA ( Linear Weighted , Applied Weighted )

– The Second SMA ( Simple , Applied to : Previous indicator’s Data )

 

Go Long :

Coss above

 

Go Short

Cross Below

 

The Problem , i have used indicator average but & i performed the backtest, when the backtest finish : EA will plot the 2 MA used in visual chart, i checked the config for both Moving averages & i found the SMA applied as close .

 

Thanks for assistance , i’m waiting .

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #132141

I have created one more example for you. See attached Wizard file and screenshots

 

On the left side of the short condition I calculate SMA ( 58 ) using values of WMA ( 25 ) so it’s MA calculated from MA not from Close as you said

On the right side of the short condition I just calculate WMA ( 25 ).

 

If SMA 58 ( WMA 25 ) crosses above/below WMA ( 25 ) I enter a trade …. BUT …

 

MetaTrade will show you only WMA ( 25 ). It cannot display SMA 58 ( WMA 25 ). That’s why I attach also screenshot from another trading platform so you can see trades correspond to SMA(WMA) and WMA crosses

0

Zoki

Subscriber, bbp_participant, community, 18 replies.

Visit profile

8 years ago #132651

Yes, I’m VERY interested about this feature too. I’m using for years my own setup in MT4, where I added some MAs to indicator in one window, so I can see moving averages of indicator data (not the price).

If I could do this same in EA Wizard, it would help me a lot, to see when one indicator is matured enough to start looking its move.

0

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