Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
5286
Valutazioni:
(18)
Pubblicato:
2018.12.28 13:10
Aggiornato:
2023.03.29 13:48
\MQL5\Include\
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Oscillator i-KlPrice using volumes.

Calculation formula:

KlPrice_Vol = KlPrice  * Volume

Since the smoothing of the final indicator is already in the indicator, multiplying by volume is performed before such smoothing.

Understandably, the overbought/oversold levels must be recalculated in such a modified oscillator by the same formula, considering this additional smoothing, which has been done. In the final version, these levels are not permanent anymore. We used two levels of each, their breakthrough being indicated accordingly.

input int                 HighLevel2=+150;          //overbought level 2
input int                 HighLevel1=+20;           //overbought level 1
input int                 LowLevel1=-20;            //oversold level 1
input int                 LowLevel2=-150;           //oversold level 2

In the indicator inputs, these levels are represented as the levels of the initial indicator, while multiplying by volumes and smoothing take place at each tick of the indicator.

The indicator uses the classes of library SmoothAlgorithms.mqh (to be copied to terminal_data_catalog\MQL5\Include), working with which was described in details in article Averaging Price Series for Intermediate Calculations without Using Additional Buffers..

 

Fig.1. Indicator i-KlPrice_Vol


Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/22688

Heiken_Ashi_Smoothed_Trend_HTF Heiken_Ashi_Smoothed_Trend_HTF

Indicator Heiken_Ashi_Smoothed_Trend with the possibility of changing its timeframe in its input parameters

MA_Of_CCI MA_Of_CCI

Indicator MA of CCI

RSI_MA RSI_MA

Indicator RSI MA

Mirror_RSI Mirror_RSI

Indicator Mirror RSI