看盘主图-(源码 主图 帖图)
参数设置M(2 1000 5)M1(2 1000 10)M2(2 1000 20)M3(2 1000 60)N(1 100 5)S(0 2 2)春节礼物,来源于 奉献。结合自己习惯的看盘指标整合
预测量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
{STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,4,-1),COLOR00FF00;}
总额:AMOUNT/100000000,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入亿+流出亿),NODRAW;
强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
主力:=EMA(差,1),COLORFF00FF,LINETHICK5;
差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
净流:3*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORRED,NODRAW;
JE:=预测量;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=ABS(QJ0*(JJ-MIN(CLOSE,OPEN)));
主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));
散买:=(QJ0*(HIGH-MAX(OPEN,CLOSE)));
散卖:=ABS(QJ0*(MAX(CLOSE,OPEN)-JJ));
庄净入:=IF((主买-主卖)>0,主买-主卖,0)COLORRED;
庄净出:=IF((主买-主卖)<0,主买-主卖,1)COLORGREEN;
{散净入:=IF((散买-散卖)>0,散买-散卖,0)COLORGREEN;
散净出:=IF((散买-散卖)<0,散买-散卖,0)COLORRED;}
净:=主买+散买-主卖-散卖;
{STICKLINE(庄净出,O,C,3,0),COLORGREEN;
STICKLINE(庄净出,O,C,1.5,0),COLOR00CC00;}
{STICKLINE(散净入,C,H,3,0),COLORAA0000;
STICKLINE(散净入,C,H,1.5,0),COLORCC0000;}
STICKLINE(庄净入,O,C,3,0),COLOR0000AA;
{STICKLINE(散净出,O,L,3,0),COLORAA00AA;
STICKLINE(散净出,O,L,1.5,0),COLORCC00CC;}
STICKLINE(庄净入,O,C,3,0),COLOR0000CC;
STICKLINE(净>0,O,C,1,1),COLORYELLOW;
STICKLINE(净<0,O,C,0.5,1),COLORBLACK;
MB1:=EMA(CLOSE,5),COLOR00FFFF,LINETHICK1;
MB2:=EMA(MB1,3),COLORFFFFFF;
MB3:=EMA(MB2,3),COLORFFFF00;
MB4:=EMA(MB3,3),COLOR00FF00;
MB5:=EMA(MB4,3),COLORFF00FF;
MB6:=EMA(MB5,3),COLOR0000FF;
XG:=EMA(C,5)>REF(EMA(C,5),1)AND ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416>31.416;
XGG:=EMA(C,5)>REF(EMA(C,5),1)AND ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.1416>=45;
IF(XG,LLV(L,720),DRAWNULL),COLORRED,CIRCLEDOT;
IF(XGG,LLV(L,720),DRAWNULL),COLORMAGENTA,CIRCLEDOT;
IF(CROSS(MB1,MB2),L*0.97,DRAWNULL),COLORWHITE,CIRCLEDOT;
MA20:=MA(C,M3),COLORLICYAN;
A:=C>MA20;
IF(CROSS(MB1,MB2) AND A,L*0.94,DRAWNULL),COLORYELLOW,CROSSDOT;
DMLJ:=HHV(H,120);
E:=(H+L+O+2*C)/5;
CRTP:=E+(H-L);
CRZL:=2*E-L;
CRZC:=2*E-H;
CRFZ:=E-(H-L);
CRXL:=(E+CRTP+CRZL+CRZC+CRFZ)/5;
高:=CONST(CRTP),COLORRED;
阻:=CONST(CRZL),COLORC7C9FF;
支:=CONST(CRZC),COLOR7C9CFF;
反:=CONST(CRFZ),COLORDD00DD;
心理:=CONST(CRXL);
高压:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,高,ISLASTBAR,高,1),COLOR0000FF;
阻力A:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,阻,ISLASTBAR,阻,1),COLOR0099FF;
支撑:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,支,ISLASTBAR,支,1),COLORGREEN;
反转价:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,反,ISLASTBAR,反,1),COLORDD00DD;
次日心理价:DRAWLINE(S>1&&CURRBARSCOUNT=5+1,心理,ISLASTBAR,心理,1),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,反,' 反 转'),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR,支,' 支 撑'),LINETHICK1,COLOR00FF00;
DRAWTEXT(ISLASTBAR,阻,' 阻 力'),LINETHICK1,COLOR0099FF;
DRAWTEXT(ISLASTBAR,高,' 高 压'),LINETHICK1,COLOR0000FF;
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT>CC+T1 AND H>T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT>CC+T2 AND HIGH>T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
博击:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLOR00FFFF,LINETHICK1;
DRAWTEXT(ISLASTBAR, T3HIGH, '博击')LINETHICK1,COLOR00FFFF;
IF(S=1, CRTP,DRAWNULL),COLORRED;
IF(S=1, CRZL,DRAWNULL),COLORC7C9FF;
IF(S=1, CRZC,DRAWNULL),COLOR7C9CFF;
IF(S=1, CRFZ,DRAWNULL),COLORDD00DD;
IF(S=1, CRXL,DRAWNULL),COLORFFDDFF;
网:EXPMA(CLOSE,6),COLORWHITE;
之:EXPMA(CLOSE,12),POINTDOT;
语:EXPMA(CLOSE,33),COLORFF00FF,LINETHICK3;
网之语: IF(语<=REF(语,1),语,DRAWNULL),COLOR00FF00,LINETHICK3;
阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORMAGENTA;
底:REFDATE(REF(LLV(L,22),1),DATE),COLORGREEN;
网A:=EMA(EMA(EMA(EMA(C,1),2),2),2);
DRAWTEXT(CROSS(网A,REF(网A,1)),L,'买'),COLORFF00FF;
- 上一篇公式:分享天狼50分时指标源码(需L2数据支持)
- 下一篇公式:量柱主图(量托、前期高位、缩倍柱、百日低量、倍量柱