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

Fractal_WeightOscillator - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 6 reads | 0 comments |

Fractal_WeightOscillator - indicator for MetaTrader 5

Oscillator, representing the weighted smooth sum of four indicators: Fractal_RSI , Fractal_MFI , Fractal_WPR and Fractal_DeMarker .

Compilation of the Fractal_WeightOscillator indicator requires compiled indicator files Fractal_RSI.mq5, Fractal_MFI.mq5, Fractal_WPR.mq5 and Fractal_DeMarker.mq5. Put them into <Terminal Data Folder>\MQL5\Indicators .

After compilation, the Fractal_WeightOscillator.ex5 indicator file contains the following indicators: resources , so they do not need to be present in the terminal folder for the compiled indicator to work properly! For this purpose, corresponding code is added to the indicator code to include the indicator in the executable file.

Metrics executable has been added as a global scope resource

Change the string path to the indicator used as a resource in the OnInit() function block

Therefore, the compiled executable of the Fractal_WeightOscillator indicator can be used independently on other trading terminals without the original indicator.

The indicator uses the class SmoothAlgorithms.mqh library (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

File compilation order:

Fractal_WeightOscillator - indicator for MetaTrader 5

Figure 1. Fractal_WeightOscillator indicator


Attachment download

📎Fractal_DeMarker.mq5 (30.74 KB)

📎Fractal_MFI.mq5 (29.96 KB)

📎Fractal_RSI.mq5 (29.27 KB)

📎Fractal_WeightOscillator.mq5 (27.1 KB)

📎Fractal_WPR.mq5 (29.97 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #17109

Verification code Refresh