博易大师指标公式汇总以及源代码集成_图文.doc
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
以上为行情函数:
以上为常用函数
以上为时间函数
以上为引用函数
以上为逻辑函数
以上为数学函数
以上为统计函数
以上为指标函数
pobo博易期货指标(大集合)
网摘汇总
利多方舟 (10)
变色MACD (10)
仿DDX (12)
博易版(king趋势) (12)
无敌趋势 (13)
粉K线 (13)
无敌精灵 (13)
买卖航标 (14)
犬风地火 (14)
15
无影手合并即涨
16
顶底奇准 (16)
一品操盘 (17)
★底部提示:副 (18)
博易顶底王 (19)
趋势线(主图) (19)
变色主图线 (20)
CCI主图K线 (20)
优化MACD (20)
博易指标公式(量能多空) (21)
多空参考 (21)
趋势顶底 (22)
资金量指标 (23)
机构做空能量线 (24)
专业快刀手 (24)
副图K线 (25)
一品操盘 (25)
天机均线 (26)
无双多空 (26)
金山银山 (27)
量能指标 (27)
即时趋势 (28)
快慢多空 (28)
彩色K线 (28)
量能多空........................................... 错误!未定义书签。
鳄鱼分形........................................... 错误!未定义书签。
多空之王........................................... 错误!未定义书签。
博易大师变色均线代码(以21 口均线.“万能线”为例)
一、当均线开始上翘时变彩色,当均线开始卜-拐后变绿色
MA21:MA(C,21 ),COLOROOFFOO,LINETHICK4;
PARTLINE(MA21>REF(MA21,1 ),MA21 ),COLORRED,LINETHICK4; PARTLINE(MA21
<REF(MA21,1),MA21 ),COLOR008800,LINETHICK4;
二、当K线突破均线变彩色,当K线跌破均线后变绿色
MA21:MA(C,21 ),COLOROOFFOO,LINETHICK4;
PARTL1NE(C>MA21,MA21 ),COLORRED,LINETHICK4;
PARTLINE(C<MA21,MA21 ),COLOROOCDOO,LINETHICK4;
AND C>=O,C,O,3,0),COLORRED; AND C>=0,H,LQO),COLORRED; AND CvO,C,0,3,1 ),COLORRED; AND C<0,0,H,0,0),COLOURED; AND CvO,C,L,0,0),COLORRED; AND C>O,C,O,3,l),COLORFFFF00; AND Cv=0,CQ,3,l),COLORFFFFOO; AND Cv=O,H,L,0,l),COLORFFFF00;
AND C>O,C,H,0,l),COLORFFFF00; AND C>O,O,L,0,l),COLORFFFF00;
利多方舟
VARl:=(100 - ((90 * (HHV(H1GH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(H1GH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 ・ MA(((100 * (HHV(H1GH,6) - CLOSE)) / (HHV(H1GH,6)・ LLV(LOW,6))),34)); DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(CLOSE*0.95),' t ^COLOROOOOFF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035)」卖)COLORFFFF34;
年:MA(CLOSE,30),COLORGREEN;
年 STICKLINE(C>=
年 STICKLINE(C>=
年 STICKLINE(C>=
年
STICKLINE(C>=
年 ST1CKLINE(C>=STICKLINE(C<年. STICKLINE(C<年. STICKLINE(C<年.
年,
STICKLINE(C<STICKLINE(C<年,
符号t 为”买"
变色MACD
DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORFFFFFF,LINETHICK1;
DEA:EMA(DIFF,9),COLOROOFFFF,LINETHICK1;
MACD:2*(DIFF-DEA), COLORSTICK;
MACD1:2*(DIFF.DEA),COLORRED,LINETHICKO;
MACD2:SMA(MACD1,0,3),COLORFFFFOO,LINETHICKO;
STICKLINE(MACD 1>MACD2 AND MACD 1 >0,0,MACD 1,2,0),COLORRED;
ST1CKL1NE(MACD 1>MACD2 AND MACD 1 <0,0,MACD 1,2?0),COLOROOFFFF;
STICKLINE(MACD 1<MACD2,O,MACD 1 ,l,0),COLOR40FF00;
Sl:=MACD<0;
S2:= (MACD>=0);
S3 :=BARSLAST(CROSS(DIFF,DEA));
S4:=REF(S3,S3+1);
S5 :=DE A>REF(DE A,S4);
S6:=DEA;
上成立:=CROSS(DIFF,DEA) AND S5;
下成立:=CROSS(DIFF,DEA) AND S6;
L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));
L2:=EMA(L1,9);
L3 :=BARSLAST(CROSS(L 1 ,L2));
L4:=REF(L3,L3+1);
L5:=L2;
变盘:CROSS(L1,L2) AND L5,LINETHICKO,COLORD6FF9C;
STICKLINE(变盘,5,-5,4,1 ),COLORD6FF9C;
成立距今:BARSLAST(CROSS(DIFF,DEA)),LINETHICKO;
L6:=BARSC0UNT(CL0SE);
DRAWTEXT(CROSS(L1,L2),DIFF,‘ 买'),COLOROOOOFF;
DRAWTEXT(CROSS(L2,L 1 ),DIFF,‘ 卖'),COLORFFFFOO;
REF(DEA,S3),POINTDOT,COLORGREEN;
IF(L1>L2,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORB078FF;
IF(MACD<O,REF(DEA,S3),0),POINTDOT,UNETHICK5,COLORGREEN;
LS:=IF(D1FF>DEAAND DIFF>0,l,0);
加速上扬:IF(REF(LS=0,1) AND LS=l,0.1,0);
XG1:CROSS(MACD 1,MACD2) AND MACD 1<O,LINETHICKO;
XG2:CROSS(DIFF,DEA),LINETHICKO;
M1 :=MACD>REF(MACD, 1) AND DIFF<DEA;
绿柱短了:Ml AND COUNT(M 1,10)=1 AND C>MA(C,55) AND
COUNT(MACD<0,5)>=5,LINETHICK0;
DRAWTEXT(绿柱短了,MACD;绿柱短r),COLOROOFF80;
渔家乐
渔
家:3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21 )-LLV(LOW,21))* 100,5,1 )-
2*SMA(SMA(( CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))* 100,5,1 ),3,1 ),LINETHICK2
, COLORYELLOW;
渔家乐:IF(CROSS(渔家,MA(渔家,10)) AND 渔家v=10,35,0),LINETHICK3 , COLORMAGENTA; 渔家出海:IF(CROSS(渔家,MA(渔家,10)) AND 渔家<35,70,0),LINETHICK3 , COLORRED;
渔家网:IF(CROSS(MA(渔家,9),渔家)AND 渔家>70,110,72),LINETHICK 1 , COLORCYAN; DRAWICON(CROSS(渔家,62),68,1);
DRAWICON(CROSS(渔家,72),70,1);
DRAWICON(CROSS(渔家,66),72,1);
DRAWICON(CROSS(渔家,68),66,1);
DRAWICON(CROSS(76,渔家),70,2);
DRAWICON(CROSS(68,渔家),84,2);
DRAWICON(CROSS(66,渔家),80,2);
DRAWICON(CROSS(64,渔家),70,2);
准备下网:IF(渔家v=l0,30,0),STICK,COLOR8080FF,LINETHICK4;
此处下M: IF(CROSS(渔家,10),45,0),STICK,COLORRED,LINETHICK4;
DRAWTEXT(此处卜网,40」关注'),COLORYELLOW;
准备休渔吧:IF(渔家〉=90,70,0),STICK, COLORGREEN;
休渔吧:IF(CROSS(84,渔家),100,0),STICK,COLOR77AAFF,LINETHICK5;
DRAWTEXT(休渔吧,98/回家!),COLOR77AAFF ;
水面:72, COLORCYAN ;
网架:105;
水底:10;
渔家2: MA(渔家,9),LINETHICK2 ,COLORFFOOOO;
IF(CROSS(渔家,MA(渔家,6)) AND 渔家2<45,渔家2,0),COLORCCB3E2 ,L1NETHICK3 ;
仿DDX
VOL,VOLSTICK;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:VOL,VOLSTICK;
主
买:IF(CLOSE>OPEN,VAR1*(HTGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE
-LOW)), VOL/2)),COLORRED,COLORSTICK;
主
卖:IF(CLOSE>OPEN,0-VAR1 *((HIGH-CLOSE)+(OPEN・LOW)),IF(CLOSEvOPEN,0-
VARl*( HIGH-LOW),0-VOL/2)),COLOROOFFOO,COLORSTICK;
增仓减仓:IF(主买>=(ABS(主卖)),主买+主卖,主卖+主买),COLORYELLOW,LINETHICK2; 博易版(king趋势)
QSO:=((CLOSE - LLV(LOWJ 20)) / (HHV(HIGH,120) - LLV(LOWJ 20)));
QS1:=((QSO/1) * EMA(CLOSE,20));
QS:=SMA(QS1,3,1);
QDO:=((CLOSE . LLV(LOW,119))/ (HHV(H1GH,119) - LLV(LOW,119)));
QD1:=((QDO / I) * EMA(CLOSE,20));
QD:=SMA(QD 1,5,1);
QFO:=((CLOSE - LLV(LOW, 118)) / (HHV(HIGH,118) - LLV(LOW, 118)));
QF1:=((QFO/ 1) * EMA(CLOSE,20));
QF:=SMA(QF1,5,1);
PX1:=((((QS + QD) + QF) / 3) + EMA(CLOSE,20));
PX2:=MA(PX1,2);
PX3:=MA(PX1,3);
YY:=((((2 * CLOSE) + HIGH) + LOW) / 4);
MA1:=MA(YY,45);
C1:=(PX1 ・MA1);
M:=(PX2・MA1);
O1:=(PX3 - MAI);
MA2:=MA(C1,8);
BO:=0.5,COLORRED;
STICKLINE((C1 >= M),M,(O1 - 0.03),4,0),COLORRED;
STICKLINE((C1 <= M),M,(O1+ 0.03),4,0),COLORFFFF00;
LIFE:=MA(C 1,13),COLORGREEN;
A:MA(LLV(C 1,120),3),COLORRED;
B:MA(HHV(C 1,120),3),COLORGREEN;
无敌趋势
RSV 1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE・LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;
J1 :=SMA(RS V 1,3,1 );J2:=SMA(J 1,3,1);
趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF; K:SMA(RSV2,3,1),L1NETH1CK2,COLORWHITE;
D:SMA(K,3,1),LINETHICK2,COLORF408F4;
DI:IF(趋势线v= 10,30,0),LINETHICK2,COLORYELLOW;
KI:IF(CROSS(J2,J1)AND J2>85,70,100),LINETHICK2,COLOR00FF00;
强弱界线:49,POINTDOT,L1NETHICK3,COLOR99AACC;
STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;
STICKLINE(趋势线v=l 0,0,趋势线,4,1),COLORYELLOW;
STICKLINE(COUNT(趋势线<REF(趋势线,1)AND 趋势线<10,2)=2,0,20,4,0),COLORRED; STICKLINE(CROSS(J2,J1) AND J2>85,100,80,4,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(D,K) AND D>88,10),D* 1.05,2);
DRAWTEXT(CROSS(趋势线,49),47;转强*),COLORRED;
DRAWTEXT(CROSS(49,趋势线),52」转弱 *),COLORGREEN;
粉K线
STICKLINE(CROSS(C,(HHV((H+L)/2,120))),O,C, 12,1 ),COLOR3 3DDDD;
{历史新高:} STICKLINE(HHV(CLOSE,0)=CLOSE,O,C, 10,0),COLORYELLOW; STICKLINE(C>=O,CLOSE,OPEN,8,0),COLORRED;
ST1CKLINE(C>=O,CLOSE,OPEN,7,0),COLORRED;
STICKLINE(C>=O,CLOSE,OPEN,6,0),COLOR0000BB;
STICKLINE(C>=O,CLOSE,OPEN,5,0),COLGR0000CC;
STICKLINE(C>=O,CLOSE,OPEN,4,0),COLOR0000DD;
STICKLINE(C>=O,CLOSE,OPEN,3,0),COLOROOOOEE;
STICKLINE(C>=O,CLOSE,OPEN,2,0),COLOR0000FF;
STICKLINE(C>=O,LOW,HIGH, 1,0),COLORRED;
无敌精灵
空方:=(EMA(CLOSE,24)-EMA(CLOSE,4))/2*0.95;
0;多方:=(EMA(CLOSE,4).EMA(CLOSE,24))/2*0.95;
多头:多方,COLORYELLOW;
空头:空方”COLORFFFFOO;
引路精灵:(多方•空方),COLORRED,LINETHICK2;
STICKLINE(多方〉空方,0,多方,0.8, 1),COLOREEAAFE;
STICKLINE(空方〉多方,0,空方,0.8, 1),COLORFFFFOO;
STICKLINE(多方〉空方,0,空方,0.8 , 1),COLOREEAAFE;
STICKLINE(空方〉多方,0,多方,0.8 , 1),COLORFFFFOO;
DRAWICON(CROSS(引路精灵,0),引路精灵+0.3,1 );
买卖航标
VAR 1 :=(CLOSE-LLV(LOW,30))/(HH V(HIGH,30)-LLV(LOW,30))* 100;
操盘线:SM A(VAR 1,5,1 ),LINETHICK2,COLORRED;
趋势线:SMA(操盘线,3,1 ),LINETH1CK2,COLORYELLOW;
买入航标:IF(CROSS(操盘线,趋势线)AND 趋势线<25,50,0),L1NETHICK2,COLORRED; DRAWTEXT(买入航标>0,50」买入),LINETHICK1,COLORRED;
卖出时间:IF(CROSS(趋势线,操盘线)AND操盘线>70,80,100),COLORGREEN;
DRAWTEXT(卖出时间<100,80;卖出),LINETHICK 1,COLOROOFFOO;
天风地火
{天风地火N:1 100 3 M:l 100 30}
VARO:=(3*CLOSE+LOW+OPEN+HIGH)/6;
多头线:(20* VAR0+19*REF( VAR0,1)+18*REF(VAR0,2)+17*REF( VAR0,3)+16*REF( VAR0,4)+ 15*R EF( VAR0,5)+14*REF(VAR0,6)+13 *REF(VAR0,7)+12*REF(VAR0,8)+11 *REF( VAR0,9)+ 10*R EF( VAR0,10)+9*REF(VAR0,11 )+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF( VAR0,14)+5 *R EF( VAR0,15)+4*REF( VAR0,16)+3 *REF( VAR0,17)+2*REF( VA R0,18)+REF( VAR0,20))/210,CI RCLEDOT,COLORRED,LINETHICK2;
空头线:MA(多头线,10), CIRCLEDOT,COLORGREENXINETHICK2;
STICKLINE(多头线 > 空头线,多头线,空头线,10,10),COLORRED;
ST1CKLINE(多头线v空头线,多头线,空头线,10,10), COLORGREEN;
STICKLINE(C>O,O,C,7,0),COLOURED;
STICKLINE(O0,0,C,4,0),C0L0RB0B0FF;
STICKLINE(C>O,O,C,2,0),COLORYELLOW;
STICKLINE(C>O,L,H,0.1,0),COLORYELLOW;
STICKLINE(C< O,O,C,7,0),COLORFF2020;
STICKLINE(C< O,O,C,4,0),COLORFF6600;
STICKLINE(C< O,O,C,2,0),COLORFFCC66;
STICKLINE(C< O,L,H,0.1,0),COLORFFCC66;
STICKLINE(C=O ANDC>=REF(C, 1 ),O,C,7,0),COLORRED;
STICKLINE(C=O ANDO=REF(C, 1 ),O,C,4,0),COLORB0B0FF;
STICKLIN E(C=O AN DC>=REF(C, 1 ),0,C,2,0),COLORYELLOW;
STICKLINE(C=O ANDC>=REF(C, 1 ),L,H,0.1,0),COLORYELLOW;
STICKLINE(C=O AND C<REF(C, 1 ),O,C,7,0),COLORFF2020;
STICKLINE(C=O AND CvREF(C,l),O,C,4,0),COLORFF6600;
STICKLINE(C=O AND CvREF(C,l),O,C,2,0),COLORFFCC66;
STICKLINE(C=O AND C〈REF(C,1),L,H,0.1,0),COLORFFCC66;
VAR 1 :=(CLOSE* 1.1 )・(CLOSE*0.9)*80
无影手
A1:EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORRED;
A2:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,7))/3,3),COLORRED;
A3:EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA(CLOSE,9))/3,3),COLOURED;
A4:EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA(CLOSE, 11 ))/3,3),COLORRED;
A5:EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA(CLOSE,13))/3,3),COLORRED;
A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA(CLOSE,15))/3,3),COLORRED;
A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA(CLOSE,17))/3,3),COLORRED;
A8:EMA((EMA(CLOSE, 15)+EMA(CLOSE, 17)+EMA(CLOSE, 19))/3,3),COLORRED;
A9:EMA((EMA(CLOSE,17)+EMA(CLOSE, 19)+EMA(CLOSE,21 ))/3,3),COLORYELLOW; Al 0:EMA((EMA(CLOSE, 19)+EMA(CLOSE,2 l)+EMA(CLOSE,23))/3,3),COLORYELLOW; A11:EMA((EMA(CLOSE,2 l)+EMA(CLOSE,23)+EMA(CLOSE,25))/3,3),COLORYELLOW; A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW; B:=REF(A,1);
DRAWTEXT(A>B,(A+B)/2,*'), COLORFFOOFF;
DRAWTEXT(Av=B,(A+B)/2,皆),COLORGREEN;
{STICKLINE(A>B,A,B,8,0),COLORFFOOFF;
STICKLINE(Av=B,A,B,8,l),COLORFFOOOO;}
Al 5:A-(A 1 -A*0.997),COLORFF 1010;
A16:A-(A2-A),COLORFF2010;
Al 7:A-(A3-A),COLORFF3010;
A18: A-( A4-A),COLORFF4010;
A19: A-( A5-A),COLORFF5010;
A20: A-(A6-A),COLORFF6010;
A21:A-(A7-A),COLORFF7010;
A22:A-(A8-A),COLORFF8010;
A23:A-(A9-A),COLORFF9010;
A24:A-(A 10-A),COLORFFC010;
A25:A-(A 11-A*0.997),COLORFFEO 10;
STICKLINE(OPEN>=CLOSE ,O,C,9,0 ),COLORAAAAAA;
ST1CKLINE(OPEN>=CLOSE ,O,C,6,0 ),COLORBBBBBB;
STICKLINE(OPEN>=CLOSE ,O,C,2.4,0),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE ,O,C, 1.1,0),COLORDDDDDD;
STICKLINE(CLOSE>OPEN,O,C,9,0 ),COLOR6666CC;
STICKLINE(CLOSE>OPEN,O,C,6 ,0 ),COLOR7777DD;
STICKLINE(CLOSE>OPEN,O,C,2.4 ,0 ),COLOR8888EE;
STICKLINE(CLOSE>OPEN,O,C,1.1 ,0 ),COLOR9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),COLOR1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0),COLOR 1199FF;
STICKLrNE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0),COLORCCCCCC;
VAR31 :=(ZIG(3, 19)>REF(ZIG(3,19), 1) ANDREF(ZIG(3,19), 1 )<REF(ZIG(3,19), 2));
:6699归r ro r OS'O I =职卑手访)HNrraDLLS
:6699WHCnOD'(Ol'OW(牧〉派))AHH)』潮律渡尊
*01'—)AHH=:萩X滓)VW =:理-
£/(aSO1O+HDIH+MCH)=:手•(rasoio)vw=-i? 盘厚割
互
•JdOOOOHOlO^O :0曲00*010。
'(0‘寸(【7】%)八日寸^
吸%%>( iZepdaWmNrraeiis $ooooxcnoo'(o'o r (r。
吸垃日云'5小为%
<( r GEA)dTa)aNrraoiis •OQBOO'H0103<(0^t(l<I 啄)Q 却哄r 把A v( r I
典A月典)3 NITOUS •loamo^iD 'o aaooooHcno。
Wo i'(r 3A)da*' BA'
3A>( i' 3A)da*)aNn>DLLS •06-(lV^A)VWS=-^^A :(l'£A%)VgS=:G%
•00 l*((09t M01)Ann-(09t H9IH)AHH)/(aS013-(094H9IH)AHH)=^^A •Ol-
(lV£^A)VWS=-l^A •(r£40^A)VWS=-C^A •00 l*((094M01)All-
(094H9IH)AHH)/((09<MOn)All-HS013)=-O^A 赧的*号
:MOTH入HCHOD'(,Y Z2£M6 0*T9££=I ^VA)lX31MV>ia :
9966ddXCnCD'(0g860*TS60*T9££=I 佛VA)aNTraDLLS :MOTI
日入NCHODlY ££乙'90【*仃乙£乙=1
£^VA)lXH±MVaa :££00WM(HOD'(09ay I*H'£()・I*H‘ 乙
£C=I£MVA)3NI1,DLLS :MCTH日入MO1OD'(,¥的L'£6
0*T£E=I £MVA)1X3LLMVMQ
3dHCDMCnOO'(09860*T£60*T£*l=l£HVA)aNrT>DLLS
•MOniHABOlOO^^ 68/90 I*H‘8B=l £BVA)lX31MVBa
•00jj00^0103c(0c8t0-1 *H^0* I *H‘88=【£MVA):
HNIT>IDI1S :Merna 入mcnoD'(,¥ ssM60*T*s=
【^VA)ixaiMV>ia :009900XCHOD'(09860*TS60*T 话=
【£MVA)3Nn、DLLS •MOllHA^OlOD^CX K/90 I *H‘££=【闵
VA)JLX3LLMVHQ •OOJJJJ'HOqOD<(O c8tOI *H^0I *H‘££=I
£*VA)aNIT>OIlS •MOllHA^OlODX^ Ir.^6 0*l c03=I
£^VA)lXH±MVaa
•Jd9900H0103<(0<8<860*1^60*q<OZ=l£HVA)aNIT»3IlS :MOTIN
入2010D'(,¥ £L'90【*HZ【=I£MVA)lXaiMVMQ
Ud££W*Cn(Xy(0'8O0l*H'S0l*H7l=l£lVA)mNrraOLLS
•MOni3ABOnOO<CY &'£6 0*T£=l £BVA)lX31MVBa :
dddd00MCriOD'(0'8'860*TS60*T£=【£MVA):
aNIT>IDIlS :Mem 日入Ncno,'(,x 质9(n *Ht=
【£XVA)ixmiMvaci ? W9966X0100'(09 乙0【*H'S(X I *H'比I
£HVA)3NinNDIlS :MOTH入*010。
'(,丫£「S6 0*TZ=I
£XVA)1X3LLMVUQ 3d0000XCnOO'(0g860*T£60*T 乙=1 佛
VA)3NIT>DLLS
短卖奇准:IF(HHV((买 v准),10),50,20),COLORGREEN;
STICKLINE(短卖奇准=20,50,20,1,0),COLORGREEN;
TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5));
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100)/TR);
辅助线:=((DMM * 100)/TR);
XXX:=(MA(((ABS((辅助线-神偷线))/(辅助线+神偷线))* 100),3));
奇准:=MA(卖,5);
买卖:=LLV(奇准,10);
底部关注:IF(((XXX > 88) AND (神偷线< 5.8)),95,50),LINETHICK1,COLORYELLOW; STICKLINE(底部关注=95,50,95,1.5,0),COLORYELLOW,LINETHICK1;
急买奇准:IF(LLV((买 v 买卖),5),75,50),COLORRED,LINETHICK1;
STICKLINE(急买奇准=75,50,75,1.5,0),COLORRED,L1NETHICK1;
短买奇准:IF(LLV((买 v 买卖),10),85,50),COLORred,LINETHICK 1;
STICKLINE(短买奇准=85,50,85,1.5,0),COLORred,LINETHICK1;
ADXR:=((XXX + REF(XXX,3)) / 2);
VAR1:=MA(LOWJ);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR7:=REF(VAR3,1);
动向趋势线:XXX,LINETHICK2,COLORFFAA66;
一品操盘
{N: 1, 8, 1; }
WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)));
IF(WR>0,WR,0),COLORYELLOW;
涨:CROSS(WR,50),POINTDOT,COLOROOOOFF;
强:CROSS(WR,80),POINTDOT,COLORYELLOW;
I门|:CROSS(80,WR) AND WR>50,POINTDOT,COLORWHITE;
险:=COUNT(WR>60,7)>=5 AND WR>90;
跑:=COUNT(WR>60,7)>=5 AND CROSS(80,WR);
慌:WR<=10AND WR>0,POrNTDOT,COLOROOFFOO;
绝:WR=0,POINTDOT,COLORFF6600;
买:REF(WR,l)<10AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE;
攻:WR>=90 AND WR<100 OR (H=HHV(H,5) AND
H/REF(C, 1 )>= 1.05),POINTDOT,COLORFFOOFF;
停:WR=100,POrNTDOT,COLORRED;
优选:IF(( 涨AND COUNT(WR V=10,6) AND
REF(WR,1)>10)* 100,100,50),COLORFF6666,L1NETHICK2;
FLSZ:=V*N>REF(V, 1) AND C>REF(C,1) AND OO;
助涨:(涨OR 强)AND FLSZ,POINTDOT,COLORFFOOFF; DRAWICON(优选=100,50,1);
{以卜-设党副图显示方式}
STICKLINE(WR>=50,50, WR, 1,0),COLORWHITE;
STICKLINE(WR>=90 AND WR<100,100,95,4,0),COLORWHITE; STICKLINE(WR=100,100,95,4,0),COLORFF00FF;
STICKLINE(WR<=10 AND WR>0,0,5,4,0),COLORWHITE;
ST1CKL1NE(WR=0,0,5,4,0),COLORFF6600;
DRAWTEXT(涨,60』涨^COLOROOOOFF;
DRAWTEXT(助涨,25;A'),COLORFFOOFF;
DRAWTEXT(助涨,20,' II ^COLORFFOOFF;
DRAWTEXT(强,70」强 *),COLORYELLOW;
DRAWTEXT(回,50」回 *),COLORWHITE;
DRAWTEXT(险,1 OO/e^COLOROOOOFF;
DRAWTEXT(跑,100」跑'),COLORFFFFOO;
DRAWTEXT(慌,20」慌^COLOROOFFOO;
DRAWTEXT(绝,20」绝 *),COLORWHITE;
DRAWTEXT(买,50/买r),COLORWHITE;
DRAWTEXT(攻,50」攻),COLORFFOOFF;
DRAWTEXT(停,85」停^COLOROOOOFF;
50,COLORFFFF00,LINETHICK2;
10,COLOROOFFOO;
90,COLOROOFFOO;
★底部提示:副
Var2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))* 100; Var3:=SMA(SMA(Var2,3,1),3,1)/28.57;
Var4:=EMA(Var3,5);
Var5:=3*Var3-2*Var4;
AA:=CROSS(Var5,Var3) AND Var3<2.1 and c>o;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=LLV(LOW,13);
Var8:=HHV(HIGH,13);
Var9:=EMA((Var6-Var7)/(Var8-Var7)* 100,13);
VarA:=EMA(0.667*REF(Var9J )+0333* Var9,2);
多:Var9,COLORRED,POINTDOT;
空:EMA(0.382*REF(Var9,2)+0.618*Var9,l 2),COLORgreen; STICKLINE(Var9>VarA,Var9,VarA,6,0),COLORred;
STICKLINE(Var9<=VarA,Var9,VarA,6,0),COLORFFCC66; STICKLINE(AA,0,30,40,1),coloryellow;
STICKLINE(AA,16,29,38,0),colorred;
STICKLINE(AA, 1,14,38,0),colorred;
STICKL1NE(AA, 15,15,40,1),coloryellow;
STICKLINE(AA,30,50,10,0),coloryellow;
STICKLINE(A A,53,55,10,1 ),colorrcd;
STICKLINE( A A,57,59,10,1 ),colorred;
STICKLIN E( A A,61,63,10,1),colorred;
STICKLINE(AA,65,67,10,1),colorred;
STICKLINE(AA,69,75,12,0),colorffcccc;
DRAWTEXT(AA,85;底)coloryellow;
博易顶底王
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,30);
VAR3:=REF(CLOSE,1);
VAR4:=EMA((CLOSE-VAR 1)/(VAR2-VAR 1),3)*100;
主力:=SMA(MAX(CLOSE-VAR3,0),7,1 )/SMA(ABS(CLOSE-VAR3),7,1 )* 100,COLORRED; CC:主力,COLORWHITE;
散广Z=VAR4;
VAR5 :=(VAR4-LLV(VAR4,21 ))/(HHV(VAR4,21 )-LLV( VAR4,21))* 100;
Q 1:IF(CROSS(VAR5,90) AND 散户<40,18,10);
Q2:IF(CROSS(主力,12) AND REF(散户,5)<20 AND REF(散户,3)v20,18,10);
P1:IF(CROSS(84,主力),82,90),COLOR99FF33;
P2:IF(CROSS(84,散户),82,90),COLORCYAN;
VY:=SM A((CLOSE-LLV(LO W, 18))/(HHV(HIGH,l 8)-LLV(LOW,l 8))*100,5,1);
L2:=SMA(0.618*REF(VY, 1 )+0.382*VY,3,1), COLORFF9900;
L3:=MA(L2,5);
STICKLINE(L2>L3,L3+2,L3・2,5,0),COLOURED;
STICKLINE(L2v=L3,L3+2,L3・2,5,0),COLORGREEN;
80,POINTDOT;
50,POrNTDOT;
20,POINTDOT;
趋势线(主图)
AA10:=MA(C,10);
BB10:=ATAN((AA 10-REF(AA 10,l)))*l 80/3.1416;
STICKLINE(BB 10>l ANDAA10>REF(AA10,1), AA10,REF(AA10,1 ),8,0),COLORRED; STICKLINE(BB10<l AND AA10<REF(AA 10,1), AA10,REF(AA 10,1),8J),COLORGREEN; AA20:=MA(C,20);
BB20:=ATAN(( A A20-REF( A A20,1 )))* 180/3.1416;
STICKLINE(BB20> 1 ,AA20,REF(AA20,1 ),8,0),COLORYELLOW;
STICKLIN E(BB20< 1, AA20,REF(A A20,1 ),8,1 ),COLORBBCCCC;
变色主图线
01:=MA(C,0), LINETHICK1;
N1:=MA(C,21), LINETHICK1;
M2:MA(C,55),COLOR0080FF;
PARTLINE(N1>M2,M2),COLORRED,LINETHICK2;
PARTLINE(Nlv=M2,M2),COLORGREEN,LINETHICK2;
CCI主图K线
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP, 13))/(0.015*AVEDEV(TYP, 13));
STICKLINE(CCI>=0,O,C,4,1 ),COLORRED;
STICKLINE(CCI>=0,O,L,0.1,0),COLORRED;
STICKLINE(CCI>=O,C,H,0.1,0),COLORRED;
STICKLINE(CCI<0,O,C,4,0),COLORCYAN;
STICKLINE(CCIv0,O,H,0.1,0),COLORCYAN;
STICKLINE(CCI<0,C,L,0.1,0),COLORCYAN;
DRAWTEXT(CROSS(CCI,-200) AND CCI>REF(CCI,1),L;平空'),COLORGREEN; DRAWTEXT(CROSS(200,CCI) AND CCKREF(CCI,1),H,呼多)COLORYELLOW; DRAWTEXT(CROSS(CCI, 100) AND CCI>REF(CCI,1),L;加多COLORYELLOW; DRAWTEXT(CROSS(-100,CCI) AND CCI<REF(CCI,1),H;加空'),COLORGREEN
优化MACD
VAR1:=REF(CLOSE,1);
VAR2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VAR3 :=(CLOSE-VAR 1)*VAR2;
VAR4:=SUM(VAR3,0);
VAR5:=SMA(VAR4,5,1);
VAR6:=SMA(VAR4,8,1);
OSC: VAR5-VAR6;
OSCMA: MA(OSC,4);
OSC, COLORSTICK;
VD:=SUM(IF(OSC>0,OSC* 1.003,OSC* 1.003>0),34)/34;
VE:=SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),34)/34;
DRAWTEXT(CROSS(OSCMA,VE),OSCMA;买),COLOROOOOFF; DRAWTEXT(CROSS(VD,OSCMA),OSCMA」卖),COLOR3FEF12;
DRAWTEXT(CLOSE> 上分形AND REF(CLOSE,l)vREF(上分形,1),L 博易指标公式(量能多空)
DKX:=(EMA(C, 18)),POINTDOT;
STICKLINE(((C >=DKX) AND (C >= O)),H,L,0,l),COLORRED;
STICKLINE(((C >=DKX) AND (C >= O)),O,C,2,1),COLORRED;
STICKLINE(((C >=DKX) AND (C <= O)),H,L,0,0),COLORRED;
ST1CKLINE(((C >=DKX) AND (C <= O)),O,C,2,0),COLORRED;
ST1CKLINE(((C <DKX) AND (C >= O)),H,L,0,1),COLORGREEN;
STICKLINE(((C v DKX) AND (C >= O)),O,C,2,1),COLORGREEN;
STICKLINE(((C < DKX) AND (C <= O)),H,L,0,0),COLORGREEN;
STICKLINE(((C < DKX) AND (C <= 0)),0,C,2,0),COLORGREEN;
VAR 1:=(HHV(HIGH,15)-LLV(LO W, 15));
VAR2:=(HH V(HIGH,15)-CLOSE);
VAR3:=(CLOSE・LLV(LOW,15));
VAR4:=(((VAR2/VAR 1)* 100)-70);
VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);
VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);
VAR7:=SMA(((VAR3/VAR1 )* 100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=(SMA(VAR7,3,1 )-SM A(VAR4,9,1));
VAR 10:=IF((VAR9> 100),(VAR9-100),0);
VAR11:=HHV(HIGH,34);
VAR 12:=EMA((((VAR6-VAR8)/(VAR 11-VAR8))* 100),15);
VARI 3:=EMA(((0.667*REF(VAR 12,1 ))+(0.333*VARl 2)),2);
MA11:=EMA(VAR13,5);
DRAWTEXT(CROSS(VAR 12-VAR 13,0),L-1,乡);
DRAWTEXT(CROSS(0,VAR 12-VAR 13 ),H+1 ;S');
多空参考
(副图)
VAR 1 :=(CLOSE-LLV(LOW,60))/(HH V(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,1O,1);
慢速:=SMA(VAR2,5,1);
RSV:= ((HHV(HIGH,9).CLOSE)/(HHV(HIGH,9).LLV(LOW,9))* 100)-70;
RSV 1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;
FATK:=SMA(RSV 1,3,1);
形态:=SMA(FATK,3,1);
VARA:=(CLOSE-LLV(LO W,9))/(HH V(HIGH,9).LLV(LOW,9))* 100;
VARB :=SM A( VARA,3,1);
VARC:=SMA( VARB,3,1);
加速:EMA(3*VARB-2*VARC,2),COLORYELLOW;
底:6,COLOROOBFOO;
大底:-6,COLOR007300;
顶:90,COLORFFA500;
大顶:100,COLORWHITE;
VARI 1 :=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR22:=CLOSE>(REF(HIGH, 1 )+REF(LOW, 1 ))/2;
买入:=VAR11 AND VAR22,LINETHICK2,COLORRED;
VAR3:=REF(CLOSE,1);
VAR4:=SM A(MAX(CLOSE-VAR3,0),6,1 )/SMA(ABS(CLOSE-VAR3),6,1 )* 100;
卖出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;
VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,・6);
VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);
DRAWTEXT(VAR5,85;注意顶 *),COLORBLUE;
DRAWTEXT(VAR6,0「关注底[COLORRED;
DRAWTEXT(VAR7,95;空)COLORGREEN;
DRAWTEXT(VAR8,5;多)COLORMAGENTA;
趋势顶底
S1:80,COLOR996699,PREC1SO;
B1:20,COLORGREEN,PRECIS。
;
A:=MA(・100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34).LLV(LOW,34)),19),COLORRED;
B:=-100*(HH V(HIGH, 14)-CLOSE)/(HHV(HIGH, 14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34).LLV(LOW,34)),4),LINETHICK2;
长期线:A+l 00,COLOR9900FF;
短期线:B+100,COLOR888888;
'11期线:D+l 00,COLORYELLOW,LINETHICK2;
见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线),PRECIS0;
顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR
REF(短期线,2)>95 ) AND长期线>60 AND短期线<83.5 AND短期线v中期线AND短期
线V长期线+4,PRECIS0;
顶部:=FI LTER(顶部区域,4);
底部区域:(长期线V12 AND中期线v8 AND (短期线v7.2 OR REF(短期线,l)v5) AND (中期线>REF(中期线,1)OR短期线>REF(短期线,1)))OR (长期线<8 AND中期线<7 AND短期线<15 AND短期线>REF(短期线,1)) OR (长期线<10 AND中期线v7 AND短期线vl),PRECIS。
;
ST1CKLINE(顶部,98,103,20,1),COLORRED;
STICKLINE(底部区域,-4,0,22,0),COLORGREEN;
STICKLINE(底部区域,40,44,22,0),COLORGREEN;
低位金又:氐期线<15 AND REF(|K期线,l)vl5AND中期线<18 AND短期线>REF(短期线,1) AND CROSS(短期线,长期线)AND短期线〉中期线AND (REF(短期线,1)<5 OR REF(短期线,2)v5) AND (中期线>=长期线OR REF(短期线,1)<1),PRECISO;
PARTLINECI | 期线〉REF。
| 】期线,1),中期线),COLORMAGENTA,LINETHICK2; PARTLINE(长期线<=REF(长期线,1),长期线),COLORFFFFOO,LINETHICK1;
STICKLINE(低位金叉,0,4,11,0 ),COLORRED;
SO: 10,COLORCC6633,LINETHICK2,PRECIS0;
BO:90,COLOR9966BB,LINETHICK2,PRECIS。
;
资金量指标
VARF:=100.3 *SMA((CLOSE-LLV(LO W,75))/(HH V(HIGH,75)-LLV(LO W,75))* 100,20,1 )+2*S
MA(SMA
((CLOSE・LLV(LOW,75))/(HH V(HIGH,75)・LLV(LOW,75))* 100,20,1),15,1);
VAR3 :=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)* 100;
VAR4:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)* 100;
VAR5 :=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)* 100;
VAR6 :=( VAR3+VAR4+VAR5 )/3;
ZH: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S
MA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR8:=IF(VAR6<=・20,10,0);
STICKLINE(VAR8= 10,20,10,4,0),COLORRED;
VAR 11 :=VARF<REF(VAR 10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)= 1,5」狮子提醒r),COLORFFOOFF;
STICKLINE(VAR11 AND COUNT(VARI 1,30)= 1,1,10,8,0),COLORYELLOW;
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,3」大资金进入),COLORFFOOFF;
机构做空能量线
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)・LLV(LOW,36))*100;
机构做空能量线:SMA(VAR1,3,1),L1NETHICK2,COLORGREEN;
VAR2:=(CLOSE.LLV(LOW,9))/(HH V(HIGH,9)・LLV(LOW,9))* 100;
机构做多能量线:SMA(VAR2,5,1).8,LINETHICK2,COLORRED;
弱势区:20,POINTDOT,COLORGREEN;
强弱分水岭:50,POrNTDOT,COLORWHITE;
强势区:80,POINTDOT,COLORFOOFFO;
专业快刀手
Nl:=21;
VAR 1 :=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))* 100,5,1)-
3 *SMA(SMA((CLOSE・LLV(LOW,N))/(HHV(HIGH,N)・LLV(LOW,N))* 100,5,1 ),3.2,1),COLOR YELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小试牛刀:IF(CROSS(VAR 1 ,VAR2),50,0),STICK,COLORRED;
DRAWICON(小试牛刀〉0,50,4);
发现庄迹:1F(VAR1<=8,15,0),STICK,COLORCYAN,L1NETHICK2;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区:1F((VAR07<10),100,118) ,COLOROOCCFF,L1NETHICK1;
CDl:=(HHV(H,9)-C)/(HHV(H,9)・LLV(L,9))-0.7;
CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
CD3 :=SMA(SMA(CD2,3,1 ),3,1);
CD4:=(CD3-SMA(CD 1,9,1 ))・0.5;
CD5:=IF(CD4>0.00,CD4,0.00);
CD6:=REF(CD5,1);
VAR81 :=MA(C,9),COLOURED;
空头 1 :=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
减仓空仓:CROSS(CD6,CD5),COLORGREEN;
DRAWICON(减仓空仓>0,113,5);
VAR 1 A:=(HH V(HIGH,9)・CLOSE)/(HH V(HIGH,9)・LLV(LOW,9))* 100-70;
VAR2A:=SMA(VAR 1 A,9』)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SM A(VAR3 A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>N 1,VAR6A-N 1,0),COLORLIRED;
果断出击:1F(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,L1NETHICK2; DRAWICON(果断出击>0,100,4),COLORGREEN;
XG:=CROSS(端庄窝,0.01);
LC:=REF(CLOSE,1);
RSI:=SM A(MAX(CLOSE-LC,0),6,1 )/SM A(ABS(CLOSE-LC),6,1 )* 100;
E:=CROSS(83,RSI);
STICKLINE(REF(端庄窝,l)v 端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED; STICKLINE(REF(端庄窝,1)> 端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOROOFFOO; 红持绿空:0,COLORGREEN;
中分线:20;
VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;
VAR2E:=SMA(SMA(VAR 1 E,3,1 ),3,1);
VAR3E:=EMA(VAR2E,5);
GZ:=3*VAR2E-2*VAR3E;
趋势J:EMA(GZ,3),colorgreen,linethick3;
partline(趋势J>ref(趋势J, 1),趋势J),colorred,linethick3;
VAR37:=(CLOSE・MA(CLOSE,6))/MA(CLOSE,6)* 100;
VAR38:=(CLOSE-MA(CLOSE, 12))/MA(CLOSE, 12)* 100;
VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)* 100;
副图K线
RS V:=(CLOSE・LLV(LOW, 13))/(HHV(HlGH,l 3)-LLV(LOW,l 3))* 100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:=3*K.2*D;
100,COLGR00FF00;
0,COLORFF00FF;
STICKLINE(J>REF(J, 1 ),HHV(J,3),LLV(J,3)QO),COLORRED;
STICKLINE(J>REF(J, 1 ),J,REF(J, 1 ),3,0),COLORRED;
STICKLINE( J>REF(J, 1), J,REF(J, 1 ),2,0),CGLOR000099;;
STICKLINE(J>REF(J, 1 ),J,REF(J, 1), 1,0),COLOR2F2FFO;
STICKLlNE(JvREF(J,l),HHV(J,3),LLV(J,3)QO),COLORFFAAOO;
STICKLINE(JvREF(J, 1 ),J,REF(J, 1 ),3,0),COLORFF3300;
STICKLINE(JvREF(J, 1),J,REF(J, 1), 1.5,0),COLORFF6600;
STICKLINE(J<REF(J, 1 ),J,REF(J, 1 ),0,0),COLORFFA A00;
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
一品操盘
STICKLINE((C>=O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),COLORRED;
STICKLINE(C<O OR (C=O AND C>REF(C, 1 )),O,C,4,0),COLORCYAN;
STICKLINE((C<0 AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,1),COLORCYAN; STICKLINE((C<O AND L<>0) OR (C=O AND C>REF(C,1)),L,0,0.1,1),COLORCYAN;
压力:HHV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORGREEN;
支撑:LLV(MA((LOW+HIGH+CLOSE)/3,1),34),LINETHICK2,COLORRED;
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)・LLV(LOW,27))* 100;
RG:=(CLOSE・LLV(LOW,5))/(HHV(HIGH,5)・LLV(LOW,5))*100;
VA1:=SMA(RV,3,1);
VA2:=SMA(VA 1,3,1);
ZZ:=EM A(SMA(RG3,1 ),2);
XX:=SMA 亿Z,3,l);
DRAWICON(CROSS(VA 1,VA2) AND CROSS(ZZ,XX),L, 1);
DRAWICON(CROSS(VA2,VA 1) AND CROSS(XX,ZZ),H,2);
天机均线
均:=(3*C+H+L+O)/6;
短线:(8* 均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5)+2*REF(均,6)+REF(均,7 ))/3 6,COLORWHITE,PRECISO;
中线:(LLV(短线,3)+LLV(短线,5)+LLV(短线,8))/3,COLORYELLOW,PRECIS。
;
无双多空
VAR1A:=LLV(LOW,21);
VAR2A:=HH V(HIGH,21);
AK1:=EMA((((CLOSE ・ VARI A) / (VAR2A ・ VARI A)) * 100),5);
AK:=EMA((((CLOSE - VARI A) / (VAR2A - VARI A)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB= 1 ),L;建多r),COLORYELLOW;
VAR3 A A:=IF((CLOSE>REF(CLOSE, 1 )),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE, 1 ))> 1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
STICKLINE(C>=O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
STICKLINE((C>=O AND C<>H) OR (C=O AND OREF(C,1)),C,H,0.1,0),COLORRED; STICKLINE((C>=O AND L<>0) OR (C=O AND C>REF(C, 1 )),L,O,0.1,0),COLORRED; STICKLINE(C<O OR (C=O AND C>REF(C,1)),O,C,4,0),COLORCYAN;。