ww58
- ago
Code from QuickRef. 6 months 5 min backtest.

CODE:
public class MyStrategy : UserStrategyBase {     public MyStrategy() : base() { StartIndex = 0; } public override void Initialize(BarHistory bars) { } public override void Execute(BarHistory bars, int idx) {          if (CandleMethods.LongUpperShadow(bars, idx))             DrawBarAnnotation("L", idx, true, WLColor.Black, 10);          if (CandleMethods.LongLowerShadow(bars, idx))             DrawBarAnnotation("L", idx, false, WLColor.Black, 10);          if (CandleMethods.NoUpperShadow(bars, idx))             DrawBarAnnotation("N", idx, true, WLColor.Red, 10);          if (CandleMethods.NoLowerShadow(bars, idx))             DrawBarAnnotation("N", idx, false, WLColor.Red, 10); } }

0
58
Solved
1 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.62% )
- ago
#1
WL8 limits the number of drawn objects to 10,000 for efficiency sake.
0
Best Answer

Reply

Bookmark

Sort