Not logged in
Viewing 10 posts - 1 through 10 (of 10 total)

Forums>AlgoWizard / EA Wizard>Feature Requests>How to use " Previous indicator's Data " in SMA ( EA Wizard )

  • #113940 |
    Customer
    20 Posts

    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

    #131374
    Customer
    484 Posts

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

    #131406
    Customer
    20 Posts

    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 .

    #131968
    Customer
    20 Posts

    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

    #131982
    Moderator
    1559 Posts

    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?

    Attachments in this forum are visible only for registered users.
    #131990
    Customer
    20 Posts

    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

    #132048
    Moderator
    1559 Posts

    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

    #132072
    Customer
    20 Posts

    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 .

    #132141
    Moderator
    1559 Posts

    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

    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #132651
    Participant
    17 Posts

    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 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.