Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-KlPrice_Vol - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

i-KlPrice_Vol - indicator for MetaTrader 5

Oscillator i-Kl price uses volume.

Calculation formula:

Since the smoothing of the final indicator is already in the indicator, the volume is multiplied before smoothing.

Understandably, the overbought/oversold levels have to be recalculated by the same formula in this modified oscillator, taking into account the additional smoothing that has been done. In the final version, these levels are no longer permanent. We used two levels of each level and indicated their breakouts accordingly.

 Enter an integer High level 2 = + 150 ; // Overbought level 2
Enter an integer high level 1 = + 20 ; //overbought level 1
Enter an integer low level 1=- 20 ; //oversold level 1
Enter an integer low level 2 = - 150 ; //oversold level 2

In the indicator input, these levels are expressed as the levels of the initial indicator, simultaneously multiplied by the volume and smoothed at each tick of the indicator.

The indicator uses classes from the library SmoothAlgorithms.mqh (to be copied to terminal_data_catalog\MQL5\Include), the article describes in detail how to use this class to perform intermediate calculations of the average price series without using additional buffers. .

i-KlPrice_Vol - indicator for MetaTrader 5



Attachment download

📎 i-KlPrice_Vol.mq5 (29.02 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #22688

Verification code Refresh