got it.... works perfect roy....thanks .... and thank you for the question wmadani..... we all learn from them......h
[code:1:481661eda6]Exploration notes http://forum.equis.com/viewtopic.php?p=18633#18633
Col A: 5
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","CountA"));
State:=C > Mov(C,5,S);
Write:=Read + State;
ExtFml("GV.SetVar","CountA",LastValue(Write));
Col B: 10
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","Countb"));
State:=C > Mov(C,10,S);
Write:=Read + State;
ExtFml("GV.SetVar","Countb",LastValue(Write));
Col C: 15
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","Countc"));
State:=C > Mov(C,15,S);
Write:=Read + State;
ExtFml("GV.SetVar","Countc",LastValue(Write));
Col D: 20
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","Countd"));
State:=C > Mov(C,20,S);
Write:=Read + State;
ExtFml("GV.SetVar","Countd",LastValue(Write));
Col E: 40
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","Counte"));
State:=C > Mov(C,40,S);
Write:=Read + State;
ExtFml("GV.SetVar","Counte",LastValue(Write));
Col F: 50
{* accumulate state scan}
{Tally Exploration}
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{Column A: C>MA}
{Issues above MA}
Read:= LastValue(ExtFml("GV.GetVar","Countf"));
State:=C > Mov(C,50,S);
Write:=Read + State;
ExtFml("GV.SetVar","Countf",LastValue(Write));
Filter colA OR colB OR colC OR colD OR colE OR colF
Filter enabled Yes
Periodicity Daily
Records required 1000
Tally Reset Indicator
{© 2006 Roy Larsen,
www.metastocktips.co.nz}
{* reset GV cell(s) before tally scan}
A:=ExtFml("GV.SetVar","CountA",0);
Sin(Cum(5)); {forces visible plot}
A:=ExtFml("GV.SetVar","Countf",0);
Sin(Cum(5)); {forces visible plot}
A:=ExtFml("GV.SetVar","Countd",0);
Sin(Cum(5)); {forces visible plot}
A:=ExtFml("GV.SetVar","Counte",0);
Sin(Cum(5)); {forces visible plot}
A:=ExtFml("GV.SetVar","Countc",0);
Sin(Cum(5)); {forces visible plot}
A:=ExtFml("GV.SetVar","Countb",0);
Sin(Cum(5)); {forces visible plot}
[/code:1:481661eda6]