当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力红绿柱(同花顺指标 副图 源码 测试图)
软件名称:[B]主力红绿柱(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-11-23 00:05:09
软件简介:
主力红绿柱
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,3,0),colorblack;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),colorblack,NODRAW;
开始控盘:IF(A10,20,0),LINETHICK2,colorlired;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,8,1),colorred;
有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),colormagenta,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,8,0),colorred;
高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),colorbrown,NODRAW;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,8,0),colorgreen;
主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),colorgreen,NODRAW;
VAR3:=AMOUNT/VOL/7;VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1);
VAR9:=EMA(VAR8,10);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3);
进场:IF(VAR11>REF(VAR11,1),VAR11,0),colorblue,NODRAW;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,8,0 ),colorblue;
洗盘:IF(VAR11<REF(VAR11,1),VAR11,0),colorgreen,NODRAW;
STICKLINE(VAR11<REF(VAR11,1),0,VAR11,7,1),colorgreen;
r1:=ABS(ZDMR);//主动买入数量
r2:=ABS(BDMR);//被动买入数量
r3:=ABS(ZDMC);//主动卖出数量
r4:=ABS(BDMC);//被动卖出数量
a:=(r1+r2);
b:=(r3+r4);
d:=a+b;
e:=(a-b);
//f:=ABS(a-b);
//N:=HHV(C,10);
牛差:=e/VOL*100;
牛比:=a/b*100;
s:牛比/100;
牛被:=r2/(VOL)*100;
牛主:=r1/(VOL)*100;
牛买:=a/VOL*100;
//DRAWICON(牛差>45 AND 牛比>200 AND 牛被>50 AND 牛买>55,10,7),ALIGN0;
/*
DRAWICON( 牛买>44.99 AND REF(C,1)/ REF(C,2)<1.0890,20,1),ALIGN0;
DRAWICON( 牛买>34.99 AND C/ REF(C,1)>1.0499 AND C/ REF(C,1)<1.0937,30,1),ALIGN0;
DRAWICON( 牛被>59.99 AND REF(C,1)/ REF(C,2)<1.0890,20,7),ALIGN0;
*/
MA1:=MA(C,250);
DRAWICON(C>MA1 AND REF(C,1)<MA1 AND REF(C,1)/ REF(C,2)<1.0890 AND C/ REF(C,1)>1.0970 ,15,1),ALIGN0;
//DRAWTEXT(牛被>59.99 AND REF(C,1)/ REF(C,2)<1.0890,20,'抢'),linethick1,colorblue;
DRAWICON(牛比>399,15,7),ALIGN0;
//DRAWTEXT(牛比>499,20,'夺'),linethick1,colorblue;
DRAWICON(牛买>79.9,15,7),ALIGN0;
//DRAWICON( 牛被>59.99 ,15,7),ALIGN0;
//DRAWTEXT(牛买>89,30,'买'),linethick1,colorblue;
DRAWICON(牛比>400 AND 牛被>30 AND 牛买>40.9 AND REF(C,1)/ REF(C,2)<1.0890,15,7),ALIGN0;
//******涨停双响炮****************************************************
前炮:=CLOSE>REF(CLOSE,1)*1.099;
前炮1:=HIGH>REF(CLOSE,1)*1.099;
前高:=HHV(HIGH,10);
前高天数:=BARSLAST(前高);
小阴小阳:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(前炮))<9;
时间限制:=COUNT(前炮,30)=1 AND BARSLAST(前炮)>5;
后炮:=REF(小阴小阳 AND 时间限制,1) AND 前炮;
DRAWTEXT(后炮,25,'炮'),linethick1,colorblue;
/*
DRAWTEXT(REF(HIGH,前高天数+1)/CLOSE>1.189,15,'超跌'),colorblue;
STICKLINE(前炮1,0,7,7,1),colorlired;
STICKLINE(前炮,0,7,8,0),colorblue;
//*********涨停双响炮*************************************************
//换手率**************************************************************
换手率:VOL/ZYLTGB*100;
DRAWTEXT(换手率>=49 AND CLOSE<OPEN AND REF(C,1)<CLOSE,65,'险'),COLORFFBB00;
//换手率**************************************************************
*/
STICKLINE(牛比>100,-20,-15,8,0),colorred;
STICKLINE(牛比<=100,-20,-15,8,0),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-165111.html]主力红绿柱(同花顺指标 副图 源码 测试图)[/url]