On this one you can change the width,style and color, just remember if you want to use something instead of STYLE_SOLID your width will have to be 0 or 1.TEAMTRADER wrote: Tue Oct 01, 2019 1:56 am I am not able to pick up the divergence areas via the thin lines on chart (because of other chart indicators ). I have tried to get the divergence price and indicator trendlines to be thicker but cannot see how to do it.
These, I believe, are the line of code involved.
Thanks
TEAMTRADER
Code: Select all
if (divergenceOnChartVisible) DrawPriceTrendLine("h",Time[currentPeak],Time[lastPeak],High[currentPeak],High[lastPeak],divergenceBearishColor,STYLE_SOLID); if (divergenceOnValuesVisible) DrawIndicatorTrendLine("h",Time[currentPeak],Time[lastPeak],values[currentPeak],values[lastPeak],divergenceBearishColor,STYLE_SOLID); } if(values[currentPeak] > values[lastPeak] && High[currentPeak] < High[lastPeak]) { if (divergenceOnChartVisible) DrawPriceTrendLine("h",Time[currentPeak],Time[lastPeak],High[currentPeak],High[lastPeak], divergenceBearishColor, STYLE_SOLID); if (divergenceOnValuesVisible) DrawIndicatorTrendLine("h",Time[currentPeak],Time[lastPeak],values[currentPeak],values[lastPeak], divergenceBearishColor, STYLE_SOLID); }
Attachments forums
Re: Adaptive Indicators' PaFilter, PaCycles Options & Dominant Cycle
mrtools, Tue Oct 01, 2019 2:27 am