飞狐新版多空跑道副图指标
源码
{DRAWBKBMP(C>O,'MOON');}
jj:=(H+L+C+O)/4;
Var1:=MA(C,5);
Var2:=MA(C,10);
Var3:=MA(C,20);
Var4:=MA(C,30);
h1a:=(var1+var2+var3+var4)/4;
MA(h1a,5),colorblue;
MA(h1a,6),COLORGREEN;
MA(h1a,7),COLORGREEN;
MA(h1a,8),COLORGREEN;
MA(h1a,9),COLORGREEN;
MA(h1a,10),COLORGREEN;
MA(h1a,11),COLORGREEN;
MA(h1a,12),COLORYELLOW;
MA(h1a,13),colorblue,linethick3;
MA(h1a,14),colorYELLOW;
MA(h1a,15),COLORGREEN;
MA(h1a,16),COLORGREEN;
MA(h1a,17),COLORGREEN;
MA(h1a,18),COLORGREEN;
MA(h1a,19),COLORGREEN;
MA(h1a,20),COLORGREEN;
MA(h1a,21),COLORBLUE;
{STICKLINE(C>MA(h1a,13),MA(h1a,13),MA(h1a,13),8,0),colorYELLOW,linethick5;}
partline(C>MA(h1a,13),MA(h1a,13)),COLORYELLOW,linethick3;
{IF C>MA(h1a,13) THEN MA(h1a,13),colorred ELSE MA(h1a,13),colorblue;}
partline(C>MA(h1a,13),MA(h1a,5)),COLORYELLOW;
partline(C>MA(h1a,13),MA(h1a,6)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,7)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,8)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,9)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,10)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,11)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,12)),COLORGREEN;
partline(C>MA(h1a,13),MA(h1a,13)),COLORYELLOW,LINETHICK2;
partline(C>MA(h1a,13),MA(h1a,14)),COLORGREEN;
partline(C>MA(h1a,13),MA(h1a,15)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,16)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,17)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,18)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,19)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,20)),COLORRED;
partline(C>MA(h1a,13),MA(h1a,21)),COLORYELLOW;
STICKLINE(C>0,jj,jj,7,0),colorgreen;