N 1 100 10
A:=MA(C,7);
B:=MA(C,23);
KA:=(A-REF(A,5))/5;
MKA:=MA(KA,3);
EKA:=EMA(KA,3);
HKA:=HHV(MKA,100);
LHA:=LLV(MKA,100);
HHHV:=HHV(HIGH,HKA)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=N;
T:=L<=MA(C,360) AND C>=MA(C,360) OR L<=MA(C,720) AND C>=MA(C,720) ;
STICKLINE(BARSLAST(HHHV=1)>1 AND T,0,0.5,5,0) COLORYELLOW;
STICKLINE(BARSLAST(HHHV=1)>1 AND T,0.5,1,5,0) COLORRED;
DRAWTEXT(BARSLAST(HHHV=1)>1 AND T,0.85,'金财富');