公式解读:
VAR1:=PEAKBARS(2,13,1)10;
VAR2:=IF(VAR1=1,2,0);
顶1:= IF(VAR2=2,1,0);
顶B:IF(顶1REF(顶1,1),78,100),colorgreen,linethick2;
var3:=PEAKBARS(3,8,1)10;
var5:=IF(var3=1,2,0);
顶:= IF(var5=2,1,0);
顶A:IF(顶REF(顶,1),78,100),coloryellow,linethick2;
VARC:=(ZIG(3,8)REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)=REF(ZIG(3,8),2)) AND (REF(ZIG
(3,8),2)=REF(ZIG(3,8),3));
STICKLINE((VARC=1),18,0,8,1),colormagenta;
DRAWTEXT((VARC=1),8, #39;+买 #39;),colormagenta;
AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);BB:=(AA-REF(AA,1))*10;CC:=IF(BBREF(BB,1),BB,REF(BB,1));
Var1:=REF(CLOSE,2);
A2: SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100, , COLOR00ff00;
超卖1: IF(A212,30,0),colorf00ff0;
Var2:=REF(CLOSE,1);
Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100;
超卖2: IF(Var312,30,0),coloryellow;
逢高派发区: STICKLINE(A280,A2+1,A2-1,8,0), , COLORRED;
我走了: IF(A2 REF(A2,1) AND A279,A2,0),colorgray;
N1:=50;N:=8;
80,colorgreen;
20,colorred;
LC:=REF(CLOSE,1);
☆:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,coloryellow;
☆1:IF(☆20,40,20),colorred;
☆2:IF(☆80,60,80),colorgreen;
☆:STICKLINE(FILTER(REF(☆,1)20 AND ☆REF(☆,1),5),20,40,8,0),colorred;
☆:STICKLINE(FILTER(REF(☆,1)80 AND ☆REF(☆,1),5),60,80,8,0),colorgreen;
DRAWTEXT(FILTER(REF(☆,1)20 AND ☆REF(☆,1),5),40 , #39;买入 #39; ),colorred;
DRAWTEXT(FILTER(REF(☆,1)80 AND ☆REF(☆,1),5),60 , #39;卖出 #39; ),colorgreen;
x: REF(CLOSE,1);
冰山: SMA(MAX(CLOSE-x,0),8,1)/SMA(ABS(CLOSE-x),8,1)*100 ;
排顺序: IF(CROSS(冰山,15),20,0),STICK,linethick1;
DRAWICON(排顺序0,20,1 );
DRAWTEXT(CROSS(排顺序,11) , LOW, #39; 低吸 #39;),COLOr00B7B4 ;
买入A:IF(1/WINNER(CLOSE)100 AND ABS((COST(50)-CLOSE)/CLOSE*100)30 AND IF(1/WINNER(CLOSE)REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,colorred , linethick2;