Exit within the next 4 bars if higher than entry price on market

Forums ProRealTime English forum ProOrder support Exit within the next 4 bars if higher than entry price on market

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

    Hi guys,

    Apologies again for my inability to code can anyone help with this?

    Thanks in advance and best of luck with your endeavors.

    #236097
    JS

    Hi,

    If (BarIndex-TradeIndex(1))<=4 and Close>TradePrice(1) then

    Sell at Market

    EndIf

     

    2 users thanked author for this post.
    #236100

    Thank you JS.

    1 user thanked author for this post.
    avatar JS
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