Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Stochastic Moving Average - indicatore per MetaTrader 4

Visualizzazioni:
802
Valutazioni:
(1)
Pubblicato:
Aggiornato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

This indicator is an implementation of Stochastic of Moving Average.

This indicator can be used as a filter indicator.

It can be associated with my free indicator "HLPeak_Trend".

Stochastic_MA

The logic is implemented as Class, so you can copy and paste in your Expert Advisor code without using the function iCustom().

Use the class function ".Update(int shift)" to run or update the indicator class.

Usually use shift=0 in Expert Advisor.


Class Input Parameters:

   int   parPeriod;        // Period

   int   parKPeriod;       // K Period

   int   parDPeriod;       // D Period

   int   parSlowingPeriod; // Slowing Period

   ENUM_APPLIED_PRICE   parPrice;   // Applied Price

   

Class Output Buffers: (index 0=current, 1=previous)

   double bufStoc[];    // Stochastic

   double bufStoK[];    // Stochastic K line

   double bufStoD[];    // Stochastic D line

   int    bufStoDir[];  // Direction (2=Strong Up, 1=Weak Up, -1=Weak Down, -2=Strong Down)


Inside Bar Inside Bar

Automatically detect Inside Bar patterns, draw projection rectangles, and receive real‑time alerts – all in one powerful indicator. Swing And Full Margin trader

fair value gap/imbalance fair value gap/imbalance

Dynamic Fair Value Gap (FVG) is an MQL5 indicator for MetaTrader 4 that automatically detects market price imbalances. This indicator is perfectly suited for traders utilizing the Smart Money Concepts (SMC) strategy.

Three Colors Three Colors

Example: Moving Average indicator filling by different colors

MACD Sample MACD Sample

Classical MACD Sample.