- ago
I found I hand to add WealthLab.PowerPack to get Pivots plotted. Also the name changed to Pivot, PivotR1, PivotS1 from Pivot, Pivot_R1, Pivot_S1.

For some reason my chart has dotted line for Pivot and I can't change it. The PivotR1 and PivotS1 has solid line as indicated in below code.

Do you know why I can't get rid of the dotted line for Pivot?

WL8 code - Note WealthLab.PowerPack was added.

CODE:
using WealthLab.Backtest; using System; using WealthLab.Core; using WealthLab.Indicators; using WealthLab.PowerPack; using System.Drawing; using System.Collections.Generic; using WealthLab.TASC;          _pivotpp = new Pivot(bars);          PlotIndicator(_pivotpp, WLColor.Black, PlotStyle.Line);          _pivotr1 = new PivotR1(bars);          PlotIndicator(_pivotr1, WLColor.Red, PlotStyle.Line);          _pivots1 = new PivotS1(bars);          PlotIndicator(_pivots1, WLColor.Green, PlotStyle.Line);
0
522
Solved
4 Replies

Reply

Bookmark

Sort
- ago
#1
There seems to be a bug in PlotIndicator in B7. It ignores the PlotStyle parameter, forcing a line style.
0
Cone8
 ( 24.57% )
- ago
#2
The Lines aren't the problem. PivotR1 and PivotS1 are okay.

The issue is that the plot for Pivot always uses Dots. Even if you call PlotIndicatorLine(). It probably has something to do with its DefaultPlotStyle => PlotStyle.Dots;
0
- ago
#3
Confirmed Dion's fix to be included in B8.
0
Best Answer
- ago
#4
Thank You.
0

Reply

Bookmark

Sort