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

轨迹线通达信副图指标,中线操作的买卖点和止损线

发布时间:2022/9/10 13:30:57  浏览次数:
 轨迹线
本指标可以看到中线操作的买卖点和止损线

R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
 R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
 RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1;
 R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
 绿底买入:=R19,NODRAW,COLOR00DD00;
 棕底离场:=R1A,NODRAW,COLOR2288EE;
 红底持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR 
R8 OR R9 OR RA OR RB OR RC,NODRAW,COLOR0000FF;
 灰底超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW;
 
Q1:=CONST(IF(绿底买入,0,IF(棕底离场,180,IF(红底持股,220,IF(灰底超跌,150,100))))),NODRAW;
 Q2:=CONST(IF(绿底买入,150,IF(棕底离场,100,IF(红底持股,0,IF(灰底超跌,150,100))))),NODRAW;
 Q3:=CONST(IF(绿底买入,0,IF(棕底离场,50,IF(红底持股,50,IF(灰底超跌,150,100))))),NODRAW;
DRAWGBK(C>0,RGB(Q1,Q2,Q3),RGB(0,50,50),0,' ',0);

H1:=HHV(HIGH,50);
L1:=LLV(LOW,50);
H2:=HHV(INDEXH,50);
L2:=LLV(INDEXL,50);
ZY:=CLOSE/INDEXC;
获利:=WINNER(C)*100;


趋势线:EMA(ZY,3)*10000  LINETHICK2 COLORLIBLUE; 

临界线:EMA(ZY,17)*10000 LINETHICK2 COLORYELLOW ;


止损线:EMA(ZY,34)*10000  LINETHICK2 COLORLIMAGENTA;


DX5:=CROSS(趋势线,临界线);


ZX6:=CROSS(临界线, 趋势线);


ZX7:=CROSS(止损线, 趋势线);


DRAWTEXT( DX5 AND DX5<80 AND 获利>60  ,临界线,'↖买'),COLORGREEN;
DRAWTEXT( ZX6  ,临界线,'↖卖 '),COLORRED;

DRAWTEXT( ZX7  ,止损线,'↖止损 '),COLORYELLOW;




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