Forum

Indicator with resolution higher than bar

Hi. Is it possible to create an indicator that shows several data points per bar? For example a data point per tick. Thanks

Modifying SL/TP after CTrade.Buy/Sell

Hi All I'm using Buy/Sell like the following example. The problem is that although PositionModify return TRADE_RETCODE_DONE , it seems that the order does not have SL/TP assigned to it. What needs to be fixed with this approach? Thanks, if (m_trade.Buy(lot,m_symbol.Name(), 0 , 0 , 0 ))