Attachments forums

List of attachments posted on this forum.


All files on forums: 136863

Re: Various (Specialist) indicators for MT4

mrtools, Sat Dec 24, 2022 2:08 pm

TransparentTrader wrote: Sat Dec 24, 2022 12:55 pm mrtools, thank you so much for putting in the effort to replicate this indicator.

Unfortunately, it appears there's still a far distance between your MT4 version and the TradingView version.

Below is the "Buying & Selling Pressure" in MT4 and TradingView from the broker OANDA:


Image




Image



While the TradingView version's values barely touch 0.500 across the entire H1 timeframe, you can see in the MT4 version that the indicator goes as high as 5.00 after the sharp sell-off (10x the numerical value of the TradingView version).

This tells me that each version is running the calculation differently.

Additionally, you can see very sharp visual differences in how the indicators are plotted. Not only do the crosses happen at different points between MT4 and TradingView, but the MT4 version almost appears to be "smoothed" while the TradingView version is much more jagged in its appearance.

If it's not too much effort, would you be able to re-look at the MT4 indicator's code to see if the calculations need to be re-done? Unless my eyes are failing me, the candlestick data between MT4 and TradingView is too similar for (presumably) the same indicator to be producing drastically different plots.

Thank you again!
Yeah, was way off sorry about that. Was able to make some changes think this is closer, not able to do ANY bigger changes till I get back to my regular coding computer, Sun. but was able to I think make it closer. If this code works, then will probably replace the close price with our price pack for more prices and then will add the averages besides the ema, unless someone gets to it sooner. BTW THANKS for sharing the code it looks pretty interesting.

PS: For the ongoing MT4 project of this indicator, please see here: Buy Sell Pressure indicator for MT4 (project).
All files in topic