NeedForTrade Documentation

Closed Bar Strategy

Closed Bar Strategy makes trading decisions on closed bars. Trading order is executed only if it's condtions are met.

 

There are some additional properties available in Closed Bar Strategies:

    bool BackTestingExecution // Returns True if strategy is executed on historical data, False otherwise
    bool RealTimeExecution    // Returns True if strategy is executed on real-time data, False otherwise

 

Stop Loss/Profit Target strategies must be Real Time Strategies.

 

To place trading order call suitable method. There are four possible trade order types: