Forum

Change Color of Indicator CiMA

Dear all, I am writing a trading panel. Pressing a button it creates two CiMA objects. Both indicators are then displayed as red lines. Could somebody give me a hint at where the documentation shows how to change the colors of indicators created this way? Thanks in advance! Thomas

cannot load custom indicator 'B' [4002]

I am working on an indicator A that is supposed to operate on the values computed by another indicator B. I have implemented B with 6 buffers 5 of which are plotted. B works great when I attach it to any chart. It takes 8 parameters. The first 3 parameters are as for a moving average and then it

OnTakeProfit & OnStopLoss instead of OnTradeTransaction()

In the thread Standard way to detect stop loss transaction executed on a position it was suggested to catch SL and TP events by waiting for TradeTransaction a event for the " opposite deal, with the same volume and your sl price" as this "means stoploss has been triggered" The thread