- ago
Hi,

how I get a backtest for swing low?

such as here



I tried Low is at new 90 bar low, but then I run into an issue, if market makes a real new swing low and continues sell-off, it counts even next low as a trade.
0
678
Solved
3 Replies

Reply

Bookmark

Sort
Glitch8
 ( 13.34% )
- ago
#1
Look at the ZigZag indicators, and for more fine tuned control the PeakTroughCalculator class for use in C# coded strategies. This is what I use to identify these kind of swing lows. You always have to deal with detection lag, which is built into the class so it doesn't cheat and lead to impossible results.
3
Best Answer
- ago
#2
Thanks,

what if I have SwingLo with 0 bars on the right side?

my coding capabilities are very limited.

0
Cone8
 ( 7.29% )
- ago
#3
You shouldn't use potentially peeking indicators like SwingLo unless you're an expert and know what you're getting into.


Here's the really important question - Why didn't you circle the "swing lows" in between the lows that you circled?

Is it because you're only interested in lower lows?

And if that's the case, what would you do if there's never another low lower than the low that you last circled?

What's the goal here? How will you use the information?
0

Reply

Bookmark

Sort