同花顺BS波段买卖指标公式是什么?
2016-5-19 11:33:06 股票入门 http://rumen.southmoney.com
同花顺BS波段买卖指标公式是什么?附:同花顺四方多空趋势公式源码 南方财富网小编为您提供
【同花顺BS波段买卖指标公式】
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"> 红色柱状线持股;绿色柱状线持币
属于趋势指标
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
买:ZIG(3,10);
卖:MA(买,2);
DRAWICON(CROSS(买,卖),L-CLOSE/15,"buy");
DRAWICON(CROSS(卖,买),H+CLOSE/15,"sell");
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorred;
STICKLINE(买>卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(买>卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(买>卖 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorred;
STICKLINE(买>卖 AND CLOSE<OPEN,LOW,HIGH,0,0),colorred;
STICKLINE(买<卖 AND CLOSE<=OPEN,OPEN,CLOSE,10,0),colorcyan;
STICKLINE(买<卖 AND CLOSE<=OPEN,LOW,HIGH,0,0),colorcyan;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,CLOSE,10,1),colorcyan;
STICKLINE(买<卖 AND CLOSE>OPEN,OPEN,LOW,0,0),colorcyan;
STICKLINE(买<卖 AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorcyan;
STICKLINE(买=卖 AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;
STICKLINE(买=卖 AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE(买=卖 AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE(买=卖 AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;
STICKLINE(买=卖 AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
STICKLINE((买=- OR 卖=-) AND CLOSE>=OPEN,OPEN,CLOSE,10,1),colorblue;
STICKLINE((买=- OR 卖=-) AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE((买=- OR 卖=-) AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE((买=- OR 卖=-) AND CLOSE<OPEN,OPEN,CLOSE,10,0),colorblue;
STICKLINE((买=- OR 卖=-) AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
M30:MA(CLOSE,30),colorgreen;
M62:MA(CLOSE,62),LINETHICK2,coloryellow;
M73:MA(CLOSE,73),LINETHICK2,colormagenta;
附:【同花顺四方多空趋势公式源码】
VA1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(VA1,3),1);
多空趋势:=MA((CLOSE - HY1) * 10,2);
操盘:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,2,0),coloryellow;
减仓:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,2,0),coloryellow;
反弹:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,2,0),colorgreen;
寻底:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,2,0),colorgreen;
更多同花顺指标公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。