I would like to calculate the differce between the current close[0] and the close[2880]
in timeframe Minute in Market-Analyzer (Pricedifference between two days) or later
a half or one day...
1.2.3.7 minutes are running in Marketanalyser but more, than all values 0.
I have here posted my Code. than I hope anywhere can help.
--------------------------------------------------------------------------------------------------
protected override void OnBarUpdate()
{
myDataSeries.Set(Math.Abs(Close[0] - Close[8]));
}
What I need is this.
I have tryed a sample >>>> Xvariable = Close[0] - Close[1440]
value.Set(Xvariable);
---------------------------------------------------------------------------------------------------
to calculate the difference and output in MarketAnalyzer Column.
But it is not running - Problems with Instance?
Can someone help me with this code
for reply many thanks :-)
Comment