how to sell and exitshort on current price but not close??

Forums ProRealTime English forum ProOrder support how to sell and exitshort on current price but not close??

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

    indicator2 = Average[20](close) c2 = (close = indicator2) IF c2 THEN SELL AT MARKET ENDIF

    can i set the 5 min close price hit 1 hour indicator then exit the market?

     

     

    #29007

    Hi. No unfortunately no. your conditions are tested at each run. if your timeframe is 1 H then it’s tested every 1 hour.

    We need wait until multiframe time support for this to work- or scale your code down to 5 min TF and multiply your indicators to the match 1 H timeframe.

    cheers Kasper

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