同花顺启动控盘公式

源码

红1:=LLV(LOW,10);

红2:=HHV(H,25);

红3:=EMA((C-红1)/(红2-红1)*4,4);

红4:=REF(LOW,1);

红5:=SMA(ABS(LOW-红4),3,1)/SMA(MAX(LOW-红4,0),3,1)*100;

红6:=EMA(IF(CLOSE*1.3,红5*10,红5/10),3);

红7:=LLV(LOW,30);

红8:=HHV(红6,30);

红9:=IF(MA(CLOSE,58),1,0);

红10:=EMA(IF(LOW<=红7,(红6+红8*2)/2,0),3)/618*红9;

红11:=IF(红10>88,88,红10);

买入:STICKLINE(CROSS(红3,0.3),0,88,2,0),colorred,LINETHICK1;

卖出:STICKLINE(CROSS(3.5,红3),0,88,2,0),colorcyan,LINETHICK2;

DRAWTEXT(CROSS(红3,0.3),55,'买'),COLORF00FF0;

DRAWTEXT(CROSS(3.5,红3),55,'卖'),COLOR00FF00;

红12:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

红13:=SMA(红12,7,1),LINETHICK0;

红14:=SMA(红13,5,1),LINETHICK0;

红先锋:IF(CROSS(红13,红14) AND 红13<40,30,0),colormagenta,LINETHICK1;

红15:=IF(MONTH<12,1,1);

红16:=(2*CLOSE+HIGH+LOW)/4;

红17:=LLV(LOW,34);

红18:=HHV(HIGH,34);

主力:=EMA((红16-红17)/(红18-红17)*100,13)*红15,colorred;

散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),colorcyan;

红娘子买入:IF(CROSS(主力,散户) AND 主力<35,55,0),colorred;

红娘子卖出:IF(CROSS(散户,主力) AND 散户>75,75,90),LINETHICK1,colorgreen;

DRAWTEXT(CROSS(主力,散户) AND 主力<22,20,'准备'),LINETHICK2,COLOR0099FF;

DRAWICON(CROSS(主力,散户) AND 主力<22,25,1);

DRAWTEXT(CROSS(主力,65) AND 散户<主力,55,'冲顶 '),LINETHICK2,COLOR9933FF;

DRAWICON(CROSS(主力,65) AND 散户<主力,70,2);

DRAWTEXT(CROSS(主力,75) AND 散户<主力,67,'小心被套'),LINETHICK2,COLOR009900;

DRAWICON(CROSS(主力,75) AND 散户<主力,80,2);

DRAWTEXT(CROSS(散户,主力) AND 散户>75,80,'头部'), coloryellow;

DRAWICON(CROSS(散户,主力) AND 散户>75,85,2);

A1:=1;

A2:=(5);

A3:=(((2 * CLOSE) + HIGH) + LOW) / 4;

A4:=LLV(LOW,34);

A5:=HHV(HIGH,34);

A6:=EMA((((A3 - A4) / (A5 - A4)) * 100),13);

A7:=(EMA(((0.667 * (REF(A6,1))) + (0.333 * A6)),2)) * A1;

红牛:(EMA(A7,A2)) * A1,colorlired;

A18:=(EMA(CLOSE,2)) * A1;

A19:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * A1;

A20:=(HHV((MA(HIGH,13)),13)) * A1;

A21:=(LLV((MA(HIGH,13)),1)) * A1;

A22:=(EMA(CLOSE,4)) * A1;

A23:=((((A18 >= A19) AND (A21 = A20)) AND (A18 > A22)) AND (CLOSE > A21)) AND ((REF(A21,1)) < (REF(A20,1)));

A24:=BARSLAST(A23) + 1;

A25:=(LLV(LOW,A24)) * 1.3;

A26:=(LLV(LOW,20)) * 1.418;

A27:=(((((A18 >= A19) AND (A21 = A20)) AND ((CLOSE / (REF(CLOSE,1))) >= 1.07)) AND (A24 <= 30)) AND (CLOSE <= A25)) AND (CLOSE <= A26);

A28:=A27 AND (FILTER(A27,A24));

A30:=((((((A18 >= A19) AND (A21 = A20)) AND ((CLOSE / (REF(CLOSE,1))) >= 1.035)) AND (A24 <= 30)) AND (CLOSE <= A25)) AND (CLOSE <= A26)) ;

A31:=A30 AND (FILTER(A30,20));

DRAWICON((A28 OR A31),红牛,1);

DRAWTEXT((A28 OR A31),红牛,'←红牛'),colorred;

红先锋1:=16;

红先锋2:=ATAN((C/REF(C,红先锋1)-1)*57.05);

红先锋3:=SUM(红先锋2,50);

红先锋:EMA(红先锋3,60),coloryellow;

红先锋4:=EMA(红先锋3,10);

DRAWBAND(红先锋3,180,红先锋4,RGB(111,222,222));

DRAWTEXT(CROSS(红先锋3,红先锋4),红先锋4,'启动'),coloryellow;

DRAWTEXT(CROSS(红先锋3,红先锋),红先锋4,'加速'),colormagenta;


 




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图