VAR1:=IF(L<(7),0,IF(...
VAR1:=IF(L<(7),0,IF(H>(7),(7)-((7)-H+0.02)/(H-L+0.02),0));
VAR2:=DMA(VAR1,V)*100;
卖出:=IF(VAR2>0 AND VAR2>REF(VAR2,1),VAR2/20,0);
GUPQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUPQ2:=SMA(ABS(LOW-GUPQ1),13,1)/SMA(MAX(LOW-GUPQ1,0),10,1);
GUPQ3:=EMA(GUPQ2,10);
GUPQ4:=LLV(LOW,33);
GUPQ5:=EMA(IF(LOW<=GUPQ4,GUPQ3,0),3)*100;
主力进:=STICKLINE(GUPQ5>REF(GUPQ5,1) AND 卖出<=0,0,GUPQ5,3.5,0 ),COLORFF00FF;
DRAWTEXT(主力进,0,'◆'),COLOR00FFFF;
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
部分卖出: 3.2,COLORC6C600;
3.5,COLOR0088FF;
全部卖出: 3.5,COLOR4080FF;
趋势线:EMA((CLOSE-GUP2)/(GUP3-GUP2)*4,4);
STICKLINE(趋势线>REF(趋势线,1) ,趋势线 ,REF(趋势线,1),3 ,1),COLORRED;
STICKLINE(趋势线<=REF(趋势线,1) ,趋势线 ,REF(趋势线,1),3 ,1),COLOR00FF00;
底部买入:0.2,COLOR70DB93;
部分买入:0.5,COLORFF75FF;
强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
数值:趋势线,COLORA8A8A8;
DRAWICON( FILTER(CROSS(趋势线,部分买入),20),底部买入-0.01 ,25);
DRAWICON( FILTER(CROSS(全部卖出,趋势线),20),趋势线-0.35,41);
DRAWICON( FILTER(CROSS(趋势线,底部买入),20),底部买入-0.01 ,25);
DRAWICON( FILTER(CROSS(部分卖出,趋势线),20),趋势线-0.35,41);