EOD trailing SL indicator?

Forums ProRealTime English forum ProBuilder support EOD trailing SL indicator?

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

    Hi.

    My ATR based (end of day) trailing stop loss code works well in ProBacktest:

    However, when I try to code it as an indicator on charts, the following error message is displayed:

    BUY/STOP orders are only allowed in ProBackTest

    Why is this trailing SL not allowed as an indicator?

    Can you suggest an alternative solution?

    Thanks in anticipation,

    #117981

    As your post reports, indicators do not support BUY/STOP orders.

    Indicators can only RETURN data/signals. Orders are not their goal.

    Remove any trading order and add RETURN.

    #117982

    It is because indicators cannot have code in them that is do with orders. TRADEINDEX is a PrOrder code word and not a ProBuilder code word.

    The best way to display the stop level is to do it in the strategy by using GRAPHONPRICE.

     

     

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