Volatility Quality

post your indicators here

Moderator: moderators

metotron
rank: <50 posts
rank: <50 posts
Posts: 12
Joined: Thu Aug 09, 2007 5:54 pm
Reputation: 0
Gender: None specified

Volatility Quality

Postby metotron » Sun Nov 02, 2008 12:23 pm

Hi all!
I have found very interesting indicator -Volatility Quality. This indicator was made for Metatrader but main idea was taken from Tradestation.

Tradestation code:

Variables:
VQI(0),
SumVQI(0),
aver(0);

If TrueRange <> 0 and (High - Low) <> 0 Then
VQI = ((Close - Close[1]) / TrueRange + (Close - Open) / (High - Low)) * 0.5
Else
VQI=VQI[1];
VQI = AbsValue(VQI) * ((Close - Close[1] + (Close - Open)) * 0.5);
SumVQI = SumVQI + VQI;

Plot1(SumVQI,"VQ");
Plot2(Average(SumVQI,5),"");
Plot3(Average(SumVQI,200),"");

But Metatrader's code shows points for enter and exit more sharp and can use different time frames same time

Can somebody recode MT version in TS
thanks!!!
Attachments
pikcha.gif
pikcha.gif (44.18 KiB) Viewed 1917 times
VQ.mq4
(7.13 KiB) Downloaded 236 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

Return to “Tradestation indicators”