2024乾坤趋势 超短买卖《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,33);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:=BARSLAST(GUP5>REF(GUP5,1));
GUP7:=GUP6+1;
GUP8:=REF(H,GUP7),LINETHICK3;
GUP9:=(C+GUP8)/2;
GUP10:=(C+GUP9)/2;
GUP11:=(C+GUP10)/2;
GUP12:=MA(GUP11,3);
GUP13:=IF(GUP12>REF(GUP12,1),GUP12*1.008,GUP12*0.993);
乾线:GUP13,COLORMAGENTA,LINETHICK2;
坤线:GUP12,COLORYELLOW,LINETHICK2;
DRAWICON(CROSS(乾线,坤线),乾线*1,1);
DRAWICON(CROSS(坤线,乾线),乾线*1,2);
选股公式源码
{选股公式:红箭头图标}
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,33);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:=BARSLAST(GUP5>REF(GUP5,1));
GUP7:=GUP6+1;
GUP8:=REF(H,GUP7),LINETHICK3;
GUP9:=(C+GUP8)/2;
GUP10:=(C+GUP9)/2;
GUP11:=(C+GUP10)/2;
GUP12:=MA(GUP11,3);
GUP13:=IF(GUP12>REF(GUP12,1),GUP12*1.008,GUP12*0.993);
乾线:=GUP13,COLORMAGENTA,LINETHICK2;
坤线:=GUP12,COLORYELLOW,LINETHICK2;
红箭头图标:CROSS(乾线,坤线);
{卖出公式:绿箭头图标}
GUP1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP2:=SMA(ABS(LOW-GUP1),13,1)/SMA(MAX(LOW-GUP1,0),10,1);
GUP3:=EMA(GUP2,10);
GUP4:=LLV(LOW,33);
GUP5:=EMA(IF(LOW<=GUP4,GUP3,0),3);
GUP6:=BARSLAST(GUP5>REF(GUP5,1));
GUP7:=GUP6+1;
GUP8:=REF(H,GUP7),LINETHICK3;
GUP9:=(C+GUP8)/2;
GUP10:=(C+GUP9)/2;
GUP11:=(C+GUP10)/2;
GUP12:=MA(GUP11,3);
GUP13:=IF(GUP12>REF(GUP12,1),GUP12*1.008,GUP12*0.993);
乾线:=GUP13,COLORMAGENTA,LINETHICK2;
坤线:=GUP12,COLORYELLOW,LINETHICK2;
绿箭头图标:CROSS(坤线,乾线);