Anybody got a volatility indicator for MT4 ? New comment Forex Trader 2005.05.06 23:33 I have TS2000i code but don't know how to change it to suit MT4. This is default TradeStation 2000i Easy Language code for the volatility indicator: Input: Length(10); Plot1(Volatility(Length) , "Volatility"); ***************************************************** This is the function needed to power up the above: Inputs: Length(NumericSimple); If CurrentBar >= 1 AND Length <> 0 Then Begin If CurrentBar = 1 Then Volatility = TrueRange Else Volatility = ((Length - 1) * Volatility[1] + TrueRange) / Length; End; Corrected Moving average XAverage from TS to MT4 Keltner Channel : Could some please program this for me ! New comment
This is default TradeStation 2000i Easy Language code for the volatility indicator:
Input: Length(10);
Plot1(Volatility(Length) , "Volatility");
*****************************************************
This is the function needed to power up the above:
Inputs: Length(NumericSimple);
If CurrentBar >= 1 AND Length <> 0 Then Begin
If CurrentBar = 1 Then
Volatility = TrueRange
Else
Volatility = ((Length - 1) * Volatility[1] + TrueRange) / Length;
End;