|
|||||||||||||||||||||||||||||||
| Special offer: buy AmiBroker and EOD+Real-Time Data |
|
Mark Brown Band 2 Study %Bands v.2 Pds:= Input("EMA Periods?",1,1000,21); Pct:= Input("Percentage Bands?",0.1,10,5); MA:= Mov(C,Pds,E); TBnd:= MA*(1+Pct/100); LBnd:= MA*(1-Pct/100); MA;TBnd;LBnd; %BandsCount v.2 Pds:= Input("EMA Periods?",1,1000,21); Pct:= Input("Percentage Bands?",0.1,10,5); MA:= Mov(C,Pds,E); TBnd:= MA*(1+Pct/100); LBnd:= MA*(1-Pct/100); IUp:= (H > TBnd) * Ref((H <= TBnd),-1); CntUp:= IUp + BarsSince(IUp=1) * (H > TBnd); IDn:= (L < LBnd) * Ref((L >= LBnd),-1); CntDn:= IDn + BarsSince(IDn=1) * (L < LBnd); CntUp; -CntDn; EXPERT %Bands v.2 Symbols tab. {Name: %BandUp} FmlVar("% BandsCount","CNTUP") >= 1 {Graphic: Dot, Small, Green, Above price plot} Symbols tab. {Name: %BandDn} FmlVar("% BandsCount","CNTDN") >= 1 {Graphic: Dot, Small, Magenta, Below price plot} created by HHP from a Mark Brown system Code:
all formulas for MetaStock all formulas
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators and systems are submitted by anonymous users. Therefore S4T™ does not take any responsibility for it's quality. If you use any of this information, use it at your own risk. You are responsible for your own trading decisions. Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade. In no case will S4T™ be responsible for your trading gains or losses. |
||
|
||
|