How to use ” Previous indicator’s Data ” in SMA ( EA Wizard )
9 replies
Fx Mena
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
on EA Wizard
Threshold
8 years ago #131374
In functions- “indicator’s average” for SMA applied to indicator.
Fx Mena
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 .
Fx Mena
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
*************************
tomas262
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?
Fx Mena
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 .
But The correct value is set like this .
tomas262
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
Fx Mena
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 .
tomas262
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
Zoki
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.
Viewing 9 replies - 1 through 9 (of 9 total)