{指南针OAMV指标}
Var1:=SMA(O*AMOUNT/10000000,10,1);
C0:=INTPART(Var1*1000)/1000;
B1:=REF(C0,1);B2:=REF(C0,2);B3:=REF(C0,3);B4:=REF(C0,4);B5:=REF(C0,5);B6:=REF(C0,6);B7:=REF(C0,7);
B8:=REF(C0,8);B9:=REF(C0,9);B10:=REF(C0,10);B11:=REF(C0,11);B12:=REF(C0,12);B13:=REF(C0,13);B14:=REF(C0,14);
B15:=REF(C0,15);B16:=REF(C0,16);B17:=REF(C0,17);B18:=REF(C0,18);B19:=REF(C0,19);B20:=REF(C0,20);
B21:=REF(C0,21);B22:=REF(C0,22);B23:=REF(C0,23);B24:=REF(C0,24);B25:=REF(C0,25);B26:=REF(C0,26);
B27:=REF(C0,27);B28:=REF(C0,28);B29:=REF(C0,29);B30:=REF(C0,30);B31:=REF(C0,31);B32:=REF(C0,32);
B33:=REF(C0,33);B34:=REF(C0,34);B35:=REF(C0,35);B36:=REF(C0,36);B37:=REF(C0,37);B38:=REF(C0,38);
B39:=REF(C0,39);B40:=REF(C0,40);B41:=REF(C0,41);B42:=REF(C0,42);B43:=REF(C0,43);B44:=REF(C0,44);
B45:=REF(C0,45);B46:=REF(C0,46);B47:=REF(C0,47);B48:=REF(C0,48);B49:=REF(C0,49);B50:=REF(C0,50);
HL:=IF(C0>B1 AND B1>=B2,1,IF(C0
MA5:EMA(Var1,5),COLORCYAN;
个股生命线: EMA(Var1,10);
MA34: EMA(Var1,23);
B1,POINTDOT,COLORBLACK;
B2,POINTDOT,COLORBLACK;
STICKLINE(HL=1 OR HG>=1 AND HL=0,B1,C0,5,0),COLORRED;
STICKLINE(HL=-1 OR HG<=-1 AND HL=0,B1,C0,5,0),COLORGREEN;
STICKLINE(HL=2,B2,C0,5,0),COLORRED;
STICKLINE(HL=-2,B2,C0,5,0),COLORGREEN;
STICKLINE((HL=-1 OR HL=-2) AND HG>0,B2,B1,5,0),COLORRED;
STICKLINE((HL=1 OR HL=2) AND HG<0,B2,B1,5,0),COLORGREEN;