IF LONGONMARKET THEN / IF SHORTONMAKRET THEN

Forums ProRealTime English forum ProOrder support IF LONGONMARKET THEN / IF SHORTONMAKRET THEN

Viewing 2 posts - 1 through 2 (of 2 total)
  • #5481

    I have an inconsistency in execution of code and am wondering if some could test and get the same results.

    IF LONGONMARKET THEN SET STOP pLOSS SET TARGET pPROFIT – Doesn’t work

    IF SHORTONMAKRET THEN SET STOP pLOSS SET TARGET pPROFIT – Does work

    Maybe someone can explain why there’s this inconsistency

     

     

     

    Thank you.

     

    #5485

    Well, I got no idea right now why it doesn’t work. But this code should solve your issue :

     

    Let me know if it’s alright now!

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

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