Topics
25 Apr 2017, 16:17
 2152
 2
05 Jan 2017, 15:42
 1
 790
 1
Replies

aw52uk@gmail.com
08 Oct 2018, 11:36

Hi Panagiotis Charalampous.

I am asking for help with this : "cTrend.Result.LastValue".

I basically need to understand how to program the last value of custom indicator.

I am trying to compile this one with errors.

 

cTrend = Indicators.GetIndicator<Supertrend>(UpTrend, DownTrend);
var tradeType = cTrend.Result.LastValue < Symbol.Bid ? TradeType.Buy : TradeType.Sell;


@aw52uk@gmail.com