Banzai wrote: Mon Jun 27, 2022 11:30 am Kaufman - price filtered
(on/off button)
ahtf = automatic higher time frame
Someone already made the mtf, arrows, and added some more prices + button.
It looks like he added in another timeframe to compare and align if they're in the same trend.
In the attached picture, if M15 and H4 timeframe are aligned in the same trend, it will be colored.
Otherwise, if they're not in the same trend, the color will be grayed out.
Code: Select all
enum enPrices { pr_close, // Close pr_open, // Open pr_high, // High pr_low, // Low pr_median, // Median pr_typical, // Typical pr_weighted, // Weighted pr_average, // Average (high+low+open+close)/4 pr_medianb, // Average median body (open+close)/2 pr_tbiased, // Trend biased price pr_highlow, // High/low pr_tbiased2, // Trend biased (extreme) price pr_haclose, // Heiken ashi close pr_haopen , // Heiken ashi open pr_hahigh, // Heiken ashi high pr_halow, // Heiken ashi low pr_hamedian, // Heiken ashi median pr_hatypical, // Heiken ashi typical pr_haweighted, // Heiken ashi weighted pr_haaverage, // Heiken ashi average pr_hamedianb, // Heiken ashi median body pr_hatbiased, // Heiken ashi trend biased price pr_hatbiased2, // Heiken ashi trend biased (extreme) price pr_hahighlow // Heiken ashi high/low };
Dear Coding Gurus et 'al,
It is noticed that the curve drawn by this indicator during back-test is slightly different from that it draws when the indicator is applied on chart.
What could have caused such discrepancy?
Can it be fixed?
Appreciate your kind comment and suggestion.
Thank you very much.