- Joined
- 30 June 2007
- Posts
- 7,200
- Reactions
- 1,226
Yes you did and I recognize that, but you also said VSA systems won't give you simple buy and sell arrows. This very simple system, still unoptimized, does it all for ya! I'm sure you could get 50%pa out of it with a bit of extra work.
If anyone has AB and a screaming fast PC, can you please optimize this (below) or even for 10 minutes?
//!!Simple VSA - Gringotts Bank, Aussie Stock Forums!!//
OptimizerSetEngine("cmae");
SetBacktestMode( backtestRegularRaw );
SetOption("MaxOpenPositions", 100 );
PositionSize = 20000;
PositionScore = 100+V;
a = TEMA(C,Optimize("A",14,1,100,1));
aa = a<Ref(a,-1);//downtrend established
b = C>O;//
d = V-Ref(V,-1)>0 AND (V-Ref(V,-1))/Ref(V,-1)*100>Optimize("B",50,1,200,1) AND V>JurikJMA(V,600,-500);//+ve volume spike
Filter = Buy = aa AND b AND d AND C*V>500000;
Sell = V>Ref(V,-1) AND ROC(C,1)<0 AND (V-Ref(V,-1))/Ref(V,-1)*100>Optimize("C",40,1,200,1);
AddColumn(V*C,"IVT");//
And I agree. I'm not a systems guy. I much prefer gut feel. I won't be using this system, but others might enjoy it. It's just an intellectual exercise.
If anyone has AB and a screaming fast PC, can you please optimize this (below) or even for 10 minutes?
//!!Simple VSA - Gringotts Bank, Aussie Stock Forums!!//
OptimizerSetEngine("cmae");
SetBacktestMode( backtestRegularRaw );
SetOption("MaxOpenPositions", 100 );
PositionSize = 20000;
PositionScore = 100+V;
a = TEMA(C,Optimize("A",14,1,100,1));
aa = a<Ref(a,-1);//downtrend established
b = C>O;//
d = V-Ref(V,-1)>0 AND (V-Ref(V,-1))/Ref(V,-1)*100>Optimize("B",50,1,200,1) AND V>JurikJMA(V,600,-500);//+ve volume spike
Filter = Buy = aa AND b AND d AND C*V>500000;
Sell = V>Ref(V,-1) AND ROC(C,1)<0 AND (V-Ref(V,-1))/Ref(V,-1)*100>Optimize("C",40,1,200,1);
AddColumn(V*C,"IVT");//
And I agree. I'm not a systems guy. I much prefer gut feel. I won't be using this system, but others might enjoy it. It's just an intellectual exercise.