A股小妖女 发表于 2023-9-7 09:58:56

2023炒股无需复杂 简单一买一卖《通达信+指标+公式+副图+源码》


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


GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
DRAWTEXT(CROSS(GUA3,GUA4) AND BARSLAST(GUA5)>3,HIGH+1,'↖卖'),COLORGREEN;
DRAWTEXT(CROSS(GUA3,GUA4) AND BARSLAST(GUA5)<=3,HIGH+1,'↖止损'),COLORBLUE;
DRAWTEXT(CROSS(GUA4,GUA3),LOW-1,'↖买'),COLORYELLOW;
DRAWICON(CROSS(GUA3,GUA4),HIGH+0.5,2);
DRAWICON(CROSS(GUA4,GUA3),LOW-0.5,1);
STICKLINE(C<O,O,C,3,0),COLORFF6600;
STICKLINE(C<O,O,C,2,0),COLORFF9900;
STICKLINE(C<O,O,C,1.2,0),COLORFFCC00;
STICKLINE(C<O,O,C,0.2,0),COLORCYAN;
STICKLINE(C>O,O,C,3,0),COLOR000099;
STICKLINE(C>O,O,C,2,0),COLOR0000CC;
STICKLINE(C>O,O,C,1.3,0),COLOR0000FF;
STICKLINE(C>O,O,C,0.3,0),COLORCC66FF;

选股公式源码



{选股公式:买}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
{DRAWTEXT(CROSS(GUA4,GUA3),LOW-1,'↖买'),COLORYELLOW;
DRAWICON(CROSS(GUA4,GUA3),LOW-0.5,1);
STICKLINE(C<O,O,C,3,0),COLORFF6600;
STICKLINE(C<O,O,C,2,0),COLORFF9900;}
买:CROSS(GUA4,GUA3);
{卖出公式一:卖}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
卖:CROSS(GUA3,GUA4) AND BARSLAST(GUA5)>3;

{卖出公式二:止损}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
止损:CROSS(GUA3,GUA4) AND BARSLAST(GUA5)<=3;

培乖乖盏 发表于 2023-9-14 06:49:06

这是什么东东啊

fhukcfhj 发表于 2024-1-30 14:08:32

好人一生平安!

寒川 发表于 2024-3-10 20:35:18

不知该说些什么。。。。。。就是谢谢

书香情缘释 发表于 2024-3-21 00:56:11

一切尽在不言中,谢谢!
页: [1]
查看完整版本: 2023炒股无需复杂 简单一买一卖《通达信+指标+公式+副图+源码》