Current price

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

    Can someone help me with this: I want to buy as soon as the current price is 3 pips higher than the high of the previous candlestick. How can I can access the current price in the middle of the current candlestick.

    IF CLOSE>HIGH+0.0003 THEN
    BUY AT MARKET
    ENDIF

    #11177

    The best you can do is to set a pending order at the price you want your order to be launched at market:

    Pending “stop” or “limit” orders need to be set at each new candle, because they expire after one candle, so you have to be sure that your “mycondition” in my example if still true if your are still not on market.

     

    #11196

    Thank you Nicolas. It works perfectly.

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