Has anyone been able to plot Spread-Diff as a candle rather than a Line on close? The line an close is good, but i'd like to be able to plot the O,H,L,C for the spread. I know it's likely to be through the use of Plotpaintbar, but being rubbish as coding I can't get it to work.
The following complies, but just plots the o,h,l,c of Data1. I clearly am missing something fundamental!
Code: Select all
inputs: DataSeries1( Close of data1 ), DataSeries2( Close of data2 );
Spread1 = (DataSeries1 - DataSeries2);
Plotpaintbar(High,Low,Open,Close, "Spread1", black ,Default , 3);