- ago
I cloned the GitHub Wealth-Lab 8 Extension Demo repo. There's a minor compilation error in CosmeticExtensions.cs that's declaring the variable col as Color when it should be WLColor. Lines 39, 41, 43, 49, 50. I could try committing those corrections to GitHub, but honestly I haven't done that before. ... a little knowledge can be dangerous. :(

The extension png glyph comes out as expected; see screenshot. But I also included a ico file for the library; however, the gear icon is still showing for the WL8ExtensionDemos Indicator library. Is this normal?

0
436
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
Lines 39, 41, 43, 49, 50.

Thanks for the heads-up. It's fixed now:
https://github.com/LucidDion/WL8ExtensionDemos/blob/master/WL8ExtensionDemos/Components/CosmeticExtensions.cs

QUOTE:
however, the gear icon is still showing for the WL8ExtensionDemos Indicator library. Is this normal?

Yes.
1
Best Answer
- ago
#2
Thanks.

Also in the CosmeticExtensions.cs file, the compiler is asking about the "line" parameter (last argument) below in line 70. It's not presently used. Is that for a future feature?

CODE:
public static void DrawLinRegChannel(this UserStrategyBase obj, int bar, TimeSeries series, int period, double width, WLColor color, int line) { double Slope = (period - 1) * LRSlope.Series(series, period)[bar]; double Intercept = LR.Series(series, period)[bar]; width *= StdError.Series(series, period)[bar]; obj.DrawLine(bar - (period - 1), Intercept - Slope - width, bar, Intercept - width, color, 1); obj.DrawLine(bar - (period - 1), Intercept - Slope + width, bar, Intercept + width, color, 1); }
0
- ago
#3
EDIT

It's used to set line width.
0

Reply

Bookmark

Sort