股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网同花顺公式 → 正文

主力跟踪同花顺主图指标,源码

发布时间:2023/12/20 9:51:29  浏览次数:
主力跟踪同花顺主图指标,
源码

IF CODELIKE('000001')= 0 AND CODELIKE("399")=0 THEN DRAWTEXT_FIX(ISLASTBAR ,0.4,0.05,0,'题材概念有'+" "+BLOCK(3,8)),colorliblue;
A1:=0<=20231215;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,9);
DEA :=EMA(DIFF,6)*A1;
EMA250:MA(C,250)*A1,colorred;
EMA6:MA(C,6)*A1,colorred,LINETHICK2;
EMA18:MA(C,18)*A1,coloryellow;
EMA21:MA(C,21)*A1,COLORFF00FF;
EMA10:MA(C,10)*A1,colorgreen;
EMA288:MA(C,288)*A1,colorblue;
买进价:=((C-REF(MA(C,6),1))*A1/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价)*A1 AND 买进价>REF(买进价,1)*A1;
中线买入:=COUNT(CLOSE<EMA18,5)*A1=4 AND CLOSE/EMA18>1.004
AND CROSS(CLOSE,EMA18)*A1 AND EMA18>=REF(EMA18,1)*A1;
DRAWTEXT(中线买入,LOW*0.95,' ★中线买入')*A1,colorred;
STICKLINE(买进条件,O,C,10,0)*A1,colorffffff,LAYER1;
STICKLINE(买进条件,O,C,8,0)*A1,colorffffff,LAYER1;
STICKLINE(买进条件,O,C,4,0)*A1,colorffffff,LAYER1;
STICKLINE(买进条件,H,L,0.5,0)*A1,colorffffff,LAYER1;
VL:=REF(LOW,1)*A1;
VAR12:=(SMA(ABS(LOW-VL)*A1,13,
1))/(SMA(MAX(LOW-VL,0),13,1))*A1*100;
VAR14:=MA(VAR12,13)*A1;
VAR15:=LLV(LOW,34)*A1;
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3)*A1;
加码价:=((C-REF(MA(C,18),1))*A1/18+MA(C,18))*A1*1.004;
加码条件:=CROSS(C,加码价)*A1 AND 加码价>REF(加码价,1)*A1;
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))*A1/(HHV(HIGH,
54)-LLV(LOW,54))*100,7,1),5,1)*A1;
VAR111:=SMA((CLOSE-LLV(LOW,54))*A1/(HHV(HIGH,
54)-LLV(LOW,54))*A1*100,7,1)*A1*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
STICKLINE(加码条件,O,C,10,0)*A1,color00ffff,LAYER1;
STICKLINE(加码条件,O,C,8,0)*A1,color00ffff,LAYER1;
STICKLINE(加码条件,O,C,4,0)*A1,color00ffff,LAYER1;
STICKLINE(加码条件,H,L,0.5,0)*A1,color00ffff,LAYER1;
DRAWTEXT(T,LOW-0.4,'←洗盘结束')*A1,COLORFF00FF;
DRAWTEXT(T,LOW-0.2,'|')*A1,COLORFF00FF;
VAR21:=(CLOSE-LLV(LOW,36))*A1/(HHV(HIGH,36)-LLV(LOW,36))*A1*100;
VAR22:=SMA(VAR21,3,1)*A1;
VAR23:=SMA(VAR22,3,1)*A1;
VAR24:=SMA(VAR23,3,1)*A1;
VAR25:=CROSS(VAR23,VAR24)*A1 AND VAR23<20;
ZDF:=(C-REF(C,1))*A1/REF(C,1)*A1*100;
DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.1,'←抄底')*A1,colorred;
DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'★|')*A1,colorred;
VAR29:=CROSS(VAR24,VAR23)*A1 AND VAR23>80*A1;
STICKLINE(ZDF>9.8,O,C,10,1)*A1,COLOR0000ff,LAYER1;
STICKLINE(ZDF>9.8,O,C,8,1)*A1,COLOR0000ff,LAYER1;
STICKLINE(ZDF>9.8,O,C,4,1)*A1,COLOR0000ff,LAYER1;
STICKLINE(ZDF<-9.8,O,C,10,1)*A1,COLOR00ff00,LAYER1;
STICKLINE(ZDF<-9.8,O,C,8,1)*A1,COLOR00ff00,LAYER1;
STICKLINE(ZDF<-9.8,O,C,4,1)*A1,COLOR00ff00,LAYER1;
DRAWTEXT(FILTER(VAR29,5)*A1=1,HIGH+0.9,'←逃顶')*A1,colorgreen;
DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|')*A1,colorgreen;


主力跟踪同花顺主图指标,源码

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.