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

Forums>StrategyQuant>General Discussion>Money Management – Risk Fixed Of Account mmStopLossPips? what is this?

  • #262695 |
    Participant
    15 Posts

    what is it do?

    will MM stoploss interfere with the strategy itself?

     

    //+——————————————————————+
    // — Variables
    //+——————————————————————+
    extern string CustomComment = “Strategy 7.56.253”;

    extern int MagicNumber = 11111;
    bool LongEntrySignal = false;
    bool ShortEntrySignal = false;
    bool LongExitSignal = false;
    bool ShortExitSignal = false;
    extern int BBBarOpensPeriod = 50;
    extern int BarOpensPeriod = 25;
    extern double PriceEntryMult = 0.1;
    extern int BarsValid = 145;
    extern double MoveSL2BECoef = 1.2;
    extern double ProfitTargetCoef = 4.8;
    extern int StopLoss = 95;
    extern int TrailingStop = 60;
    extern int TrailingActivation = 100;
    extern int BBRangePeriod = 10;
    extern double PriceEntryMult2 = 1;
    extern int MoveSL2BE = 315;
    extern double SL2BEAddPipsCoef = 1.5;
    extern int ProfitTarget = 240;
    extern int StopLoss2 = 25;
    extern int LWMAPeriod = 20;

    //+——————————————————————+
    // Money Management variables
    //+——————————————————————+
    extern string smm = “———– Money Management – Risk Fixed % Of Account ———–“;
    extern double mmRiskPercent = 5.0;
    extern int mmDecimals = 1;
    extern int mmStopLossPips = 100;
    extern double mmLotsIfNoMM = 1.0;
    extern double mmMaxLots = 5.0;

    #266549
    tomas262
    Administrator
    1535 Posts

    Hi,

    when an order has no stop-loss defined – it can happen .. then the stop-loss is set to mmStopLossPips = 100 so the position is always protected

    #266555
    Participant
    15 Posts

    quant analyzer shows that without strategys stop loss

    account mm mmstoploss  produces extraordinary profits

     

    something ia not right

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.