Page 333 of 389
Re: Moving Average indicators for MT4
Posted: Sat Dec 16, 2023 10:19 am
by kvak
chris006 wrote: Fri Dec 15, 2023 9:23 pm
Hi Kvak,
I was looking for a histo version of bbstops but cannot find any that generates the same results.
Even better, I think an oscillator version would be interesting, especially if you would be able to select the risk line from which to oscillate vs the price (example: Risk1 / Risk2 / Risk3)
Please consider either version (histo or oscillator) if you have time.
Thank you,
This is quick version for test, diference from close price and risk 3 bands.
Re: Moving Average indicators for MT4
Posted: Sat Dec 16, 2023 6:30 pm
by chris006
Thank you Kvak! Checked on chart vs oscillator, I think oscillator is correct.
Below image of WTI M5 is on chart EMA 55, oscillator EMA 136. Nice entry points over the past week or so, where both point in same direction.
kvak wrote: Sat Dec 16, 2023 10:19 am
This is quick version for test, diference from close price and risk 3 bands.
Re: Moving Average indicators for MT4
Posted: Sat Dec 16, 2023 11:50 pm
by Mickey Abi
mrtools wrote: Mon Nov 13, 2023 3:27 am
Hull Ribbon Moving Average using Hull Relative MA + Hull EMA & Alerts
Added alerts.
XARD: mrtools, You are on a roll
Hello Mr. Toolz.
Pls Can we have arrows on this ?
Re: Moving Average indicators for MT4
Posted: Sun Dec 17, 2023 4:06 am
by mrtools
Mickey Abi wrote: Sat Dec 16, 2023 11:50 pm
Hello Mr. Toolz.
Pls Can we have arrows on this ?
Arrows option added.
Re: Moving Average indicators for MT4
Posted: Mon Dec 18, 2023 1:10 pm
by Cazz223
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.
Re: Moving Average indicators for MT4
Posted: Tue Dec 19, 2023 10:28 am
by kvak
Cazz223 wrote: Mon Dec 18, 2023 1:10 pm
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.
I made same test like you and dont see any difference, are you sure that you use same settings in both indicators?
Re: Moving Average indicators for MT4
Posted: Tue Dec 19, 2023 8:02 pm
by Cazz223
kvak wrote: Tue Dec 19, 2023 10:28 am
I made same test like you and dont see any difference, are you sure that you use same settings in both indicators?
Dear Kvak,
Thank you so much for testing it out.
Follow you cue, I tested again with default setting, and the results match perfectly.
However, when I tested again with different setting (setting attached), they do deviate a bit.
Wonder what causes the deviation.
Re: Moving Average indicators for MT4
Posted: Tue Dec 19, 2023 9:26 pm
by wojtek
The data feeds can slightly differ(?)
Re: Moving Average indicators for MT4
Posted: Wed Dec 20, 2023 1:23 am
by Cazz223
wojtek wrote: Tue Dec 19, 2023 9:26 pm
The data feeds can slightly differ(?)
Same data feeds, because i applied the indi on the same chart that I back-tested.
I have little suspicions that the discrepancies were due to mtf function.
My second and most concerning question is which set of curves reflects the actual process of "trading", is it the one you apply on the chart or the one displayed after a back-test?
Re: Moving Average indicators for MT4
Posted: Wed Dec 20, 2023 11:12 am
by wojtek
I don't know what it is like now, but in the past the data feed for backtests
was different (limited) from the real data feed of the same broker.