N:=120; 分割:MA(CLOSE,8);
VAR1:=LLV(LOW,N);
VAR2:=HHV(HIGH,N);
VAR3:=VAR2-VAR1;
H875: VAR3*0.875+VAR1;
H809: VAR3*0.809+VAR1;
H75: VAR3*0.75+VAR1;
H67: VAR3*0.67+VAR1;
H618: VAR3*0.618+VAR1;
H50: VAR3*0.50+VAR1;
H382: VAR3*0.382+VAR1;
H33: VAR3*0.33+VAR1;
H25: VAR3*0.25+VAR1;
H191: VAR3*0.191+VAR1;
H125: VAR3*0.125+VAR1;
//www.fxjgsw.com
低点: VAR1;
高点: VAR2;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
STICKLINE(CLOSE>=CLOSE[1],CLOSE,CLOSE[1],9,1),colorred;
STICKLINE(CLOSE<CLOSE[1],CLOSE,CLOSE[1],9,0),colorgreen;
STICKLINE(CLOSE[1]>=CLOSE[2] AND CLOSE<CLOSE[1],CLOSE[1],MAX(CLOSE[2],CLOSE),9,1),colorred;
STICKLINE(CLOSE[1]<CLOSE[2] AND CLOSE>=CLOSE[1],CLOSE[1],MIN(CLOSE[2],CLOSE),9,0),colorgreen;
|
