- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
Mark Brown Band 2 Study |
|
%Bands II 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 II 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; |
|
%Bands II Expert Symbols tab. Name: %BandUp FmlVar("%BandsCount II","CNTUP") >= 1 Graphic: Dot, Small, Green, Above price plot Symbols tab. Name: %BandDn FmlVar("%BandsCount II","CNTDN") >= 1 Graphic: Dot, Small, Magenta, Below price plot |
created by HHP from a Mark Brown system | |
| |
Source / From: |