Participe de nossa página de fãs
Coloque um link para ele, e permita que outras pessoas também o avaliem
Avalie seu funcionamento no terminal MetaTrader 5
- Visualizações:
- 537
- Avaliação:
- Publicado:
- Atualizado:
-
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para 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".

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
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
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
Example: Moving Average indicator filling by different colors
MACD Sample
Classical MACD Sample.