Experts: Smart AC Trader - page 2

 
2019.11.17 08:59:45.176 There were 100 passes done during optimization
2019.11.17 08:59:45.157 Smart AC Trader: optimization finished in 0:00:15
2019.11.17 08:59:45.155 Smart AC Trader: critical error on the pass 99
2019.11.17 08:59:45.154 Smart AC Trader EURUSD,M5: zero divide in 'Smart AC Trader.mq4' (689,46)
2019.11.17 08:59:45.100 Smart AC Trader: critical error on the pass 98
2019.11.17 08:59:45.099 Smart AC Trader EURUSD,M5: zero divide in 'Smart AC Trader.mq4' (689,46)
2019.11.17 08:59:45.039 Smart AC Trader: critical error on the pass 97
2019.11.17 08:59:45.038 Smart AC Trader EURUSD,M5: zero divide in 'Smart AC Trader.mq4' (689,46)
2019.11.17 08:59:44.977 Smart AC Trader: critical error on the pass 96
2019.11.17 08:59:44.976 Smart AC Trader EURUSD,M5: zero divide in 'Smart AC Trader.mq4' (689,46)
2019.11.17 08:59:44.914 Smart AC Trader: critical error on the pass 95
2019.11.17 08:59:44.913 Smart AC Trader EURUSD,M5: zero divide in 'Smart AC Trader.mq4' (689,46)

 
Desmond Wright:

Hello

Zero divide error occurs when you try to divide something by zero.

Your lot size too big or "IncreaseFactor" variable  too big you need to use only the values that you see in input parameters on EAs page :

Inputs

    • USEMOVETOBREAKEVEN - Enable "no loss" break even system (values: 0-1).
    • WHENTOMOVETOBE - When to move break even (values: 10-100).
    • PIPSTOMOVESL - How much pips to move stop loss (values: 10-100).
    • Lots - Lots size (values: 0.01-10).
    • IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
    • TrailingStop-set a value from 10 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
    • Stop_Loss - Stop Loss (values: 10-100).
    • MagicNumber - Magic number (values: 1-100000).
    • TakeProfit - Take Profit (values: 10-100).
    • FastMA - Fast Moving Average (values: 1-20).
    • SlowMA - Slow Moving Average (values: 50-200).
    •  Mom_Sell-Momentum_Sell trigger(values: 0.1-5).
    •  Mom_Buy-Momentum_Buy trigger(values: 0.1-5).


    Or try lower values.


    The checks a trading robot must pass before publication in the Market
    The checks a trading robot must pass before publication in the Market
    • www.mql5.com
    Before any product is published in the Market, it must undergo compulsory preliminary checks, as a small error in the expert or indicator logic can cause losses on the trading account. That is why we have developed a series of basic checks to ensure the required quality level of the Market products. If any errors are identified by the Market...
     

    Hi sir,

    I just wonder why The fast MA setting only 1-20 not 1-49 , since the slow MA setting minimum is 50.

    Overall i think its good.

     
    Indro Haryo Prabowo:

    Hi sir,

    I just wonder why The fast MA setting only 1-20 not 1-49 , since the slow MA setting minimum is 50.

    Overall i think its good.

    Hello

    There are no rules here

    It's just a suggestion

    Use the values you think are correct

    Reason: