通达信麒麟指标和用法
1.操盘频率
操盘趋势:MA(C,3),colorff00ff,linethick2;
持仓线:MA(H,21),coloryellow;
空仓线:MA(L,21),colorblue;
操盘频率是一个趋势类的指标,它由三条线条组成,分别是:操盘趋势,持仓线,空仓线组成,通常这个指标为我们明确指出了一个中期趋势的大方向,那么我们如何才能判断趋势及原码如何确定买卖点位呢?
一般我们把持仓线和空仓线均在上行状态的行情称为上升趋势,两条线往下的我们称为向下趋势,那么这里的买进信号是操盘趋势线在持仓线的上方运行了一个短期后由上向下跌破持仓线,但是其又没有跌破空仓线,随后股价再此向上穿越持仓线时,才是最佳的短线入场信号。
2.短线强度
安全线:EMA((CLOSE+HIGH+LOW)/3,55),colorgreen;
A:=EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2); SD:EMA(A,13),colorwhite;
SK:EMA(SLOPE(EMA(CLOSE,55),10)*15+CLOSE,2),colorred;
短线强度是一个反映市场强弱的一个指标,其中分为三条线,浅灰色的是安全线,顾名思义,安全线就代表目标股票目前的安全或者风险,只有股票站在安全线上方运行的时候才代表目标股票处于安全时期,反之则有风险!粗黄色的SK则代表短线趋动值,短线主导往上,真正牛股只有将短线趋动引导往上的时候才上涨升的开始,SD代表中线趋动值,中线代表趋势,只有当某种趋势形成以后才会有整体个股趋势的上涨!如果发现SK慢慢偏离了代表股价的K线,则说明目标目前股票买卖热,目标股票马上将面临回调或者短期头部的出现!
3.麒麟CR
input:n(26);
VAR1:=EMA(HHV(HIGH,500),21); VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21); VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21); VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
MID:=REF(HIGH+LOW,1)/2;
CR:SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*100,COLORWHITE;
VAR12:=SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*100;
VAR11:=EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10;
出击:IF(VAR12<60 AND VAR11>10,6000/VAR12,0),COLORRED;
攻击:IF (VAR11>20,VAR11*3,0),COLORYELLOW;
4.麒麟短线王
红买绿卖,简单好使
CG:ma(C,17);
STICKLINE(CLOSE>cg,OPEN,CLOSE,6,1),
STICKLINE(CLOSE=cg,OPEN,CLOSE,6,1),
STICKLINE(CLOSE>cg,LOW,OPEN,0.8,1),
STICKLINE(CLOSE=cg,LOW,OPEN,0.8,1),
STICKLINE(CLOSE>cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE=cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE<cg,CLOSE,OPEN,6,0),
STICKLINE(CLOSE=cg,CLOSE,OPEN,6,0),
STICKLINE(CLOSE<cg,OPEN,LOW,0.8,0),
STICKLINE(CLOSE=cg,OPEN,LOW,0.8,0),
STICKLINE(CLOSE<cg,HIGH,CLOSE,0.8,0),COLORgreen;
STICKLINE(CLOSE=cg,HIGH,CLOSE,0.8,0),COLORgreen;
5.搏杀生命线
amv0:=vol*(o+c)/2;
BS:sum(amv0,88)/sum(vol,88),colorff00ff,linethick2;
STICKLINE(close>=open,open,close,5,1),colorred;
STICKLINE(open>close,close,open,5,0 ),color00ff00;
STICKLINE(close>=open,close,HIGH,0.5 ,1 ),colorred;
STICKLINE(close>=open,open,low,0.5 ,1 ),colorred;
STICKLINE(open>close,close,low,0.5 ,0 ),color00ff00;
STICKLINE(open>close,open,HIGH,0.5 ,0 ),color00ff00;
{VAR0:=(CLOSE*2+HIGH+LOW)/4*vol;
var1:=SUM(VAR0,89)/SUM(vol,89);
var2:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
var3:=IF(COUNT(ABS(CLOSE-var1)>21,8)>=1 AND
var4:=IF(CLOSE>=var1 AND COUNT(VAR0>0,2)>=2,var1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),var1*0.999));
var5:=IF(var3>0,var2,var4);
var6:=MA(CLOSE,89);
搏杀生命线:IF(var5/REF(var5,1)>1.1 OR var5/REF(var5,1)<0.9,VAR6,VAR5), colorff80ff,linethick2;}
搏杀生命线
搏杀生命线实际上就是股价强弱之势的分水岭!也常常代表了一种股价发展趋势。搏杀生命线同时对股票的趋势有一种引导作用;而对股票的价格带有一种非常大的支撑与压制作用;股价带量由下向上突破搏杀生命线,表明个股趋势开始走强的最佳体现!反之则由强开始走弱!
- 上一篇公式:通达信简洁操作系统主副图指标公式
- 下一篇公式:通达信追涨买入主图指标