小雨敲窗y 发表于 2024-4-19 14:09:08

2024顶底撑压 高效买卖《通达信+指标+公式+副图+源码》



副图公式源码支持 手机/电脑

GUP1:=CROSS(0.8,H=HHV(H,6));
GUP2:=BARSLAST(GUP1)+1;
GUP3:=REF(H,GUP2),COLOR1EFF1E;
GUP4:=CROSS(0.8,L=LLV(L,6));
GUP5:=BARSLAST(GUP4)+1;
GUP6:=REF(L,GUP5),COLOR7400E8;
STICKLINE(GUP2<=8,GUP3,GUP3,8,0),COLORGREEN,LINETHICK02;
STICKLINE(GUP5<=8,GUP6,GUP6,8,0),COLORRED,LINETHICK02;
GUP7:=4*SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1),3.2,1);
GUP8:=7;
GUP9:=CROSS(GUP7,GUP8);
DRAWTEXT(GUP9,L*0.98,'买'),COLORRED;
GUP10:=CROSS(72,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);
DRAWTEXT(GUP10,H*1.08,'卖'),COLORGREEN;

选股公式源码



{选股公式:买}
GUP1:=CROSS(0.8,H=HHV(H,6));
GUP2:=BARSLAST(GUP1)+1;
GUP7:=4*SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1),3.2,1);
GUP8:=7;
卖出:=CROSS(72,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);
CC:=CROSS(GUP7,GUP8);
买:CC;
{卖出公式:卖}
GUP4:=CROSS(0.8,L=LLV(L,6));
GUP5:=BARSLAST(GUP4)+1;
GUP7:=4*SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1),3.2,1);
卖出:=CROSS(72,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);
卖:卖出;
页: [1]
查看完整版本: 2024顶底撑压 高效买卖《通达信+指标+公式+副图+源码》