Help converting Easylanguage to ProRealCode

Forums ProRealTime English forum General trading discussions Help converting Easylanguage to ProRealCode

Viewing 3 posts - 1 through 3 (of 3 total)
  • #236709

    Hello

    Does anyone know where I would go to get the below easy code changed to pro real code? (TDOM is a separate function already coded)

    If month(date) = 12 then begin
    If TDOM = 15 then buy 2 contracts next bar open;
    end;

    If openpositionprofit > 0 then sell all contracts next bar open; // First Profitable Opening
    If barssinceentry = 4 then sell all contracts next bar open; // Time Decay
    SetStopLoss(400) // Cash Basedbased stop loss

     

     

    Many thanks

     

    Joe

    #236768
    JS

    Hi Joe,

    Try this one:

     

    #236799

    Many thanks, I will give it a try.

    All the best.

    Joe

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

Create your free account now and post your request to benefit from the help of the community
Register or Login