【股票指标公式下载】-【大智慧】优化阴阳(解盘、早晨之星、黄昏之星)

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【大智慧】优化阴阳(解盘、早晨之星、黄昏之星)-指标公式源码

A1:=1;

MID:EMA(CLOSE,17)*A1,LINETHICK1,colorFFFFFF;

UPPER:MID+2*STD(CLOSE,17),LINETHICK1;

LOWER:MID-2*STD(CLOSE,17),LINETHICK1,colorFFFF80;

UPPERO:MID+3*STD(CLOSE,17),LINETHICK1;

LOWERO:MID-3*STD(CLOSE,17),LINETHICK1,colorFFFF80;

DRAWICON(CROSS(LOW,LOWERO),LOW,1),ALIGN0;

DRAWICON(CROSS(HIGH,UPPERO),HIGH,2),ALIGN2;

DRAWTEXT(CROSS(LOWERO,LOW),LOW-0.01,''),ALIGN1;

DRAWTEXT(CROSS(LOWERO,LOW),LOW-0.01,''),ALIGN1;

LOCK:=IF(CURRENTDATE<1160101,1,0);

{VAR1:MD(CLOSE,20);

PARTLINE(VAR1>REF(VAR1,2),VAR1),LINETHICK2,colorFF00FF;} {PARTLINE(VAR1=REF(VAR1,2),VAR1),LINETHICK2,colorFF0000;} {PARTLINE(VAR1

M1:=MA(CLOSE,5);

M2:=MA(CLOSE,10);

M3:=MA(CLOSE,20);

M4:=MA(CLOSE,60);

M5:=MA(CLOSE,120);

PM3:=MA(CLOSE,30);

DRAWICON(M1>M2

AND M2>M3 AND M2>M4 AND M2>M5 AND M2>PM3 AND REF(M1,1)

REF(PM3,1)

{BB:=BARPOS=SYSPARAM(1);

VARIABLE:WDAY[7]='星期六';

WDAY[1]:='星期日';

WDAY[2]:='星期一';

WDAY[3]:='星期二';

WDAY[4]:='星期三';

WDAY[5]:='星期四';

WDAY[6]:='星期五';

FY:=YEAR;

FM:=MONTH;

FD:=DAY;

WD:=WEEKDAY;

P:=SYSPARAM(1);

STR1:='今天是:'+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月

'+NUMTOSTR(FD[P],0)+'日,

'+WDAY[WD[P]+1];

EXPLAIN(BARPOS=P,STR1),colorFF;

EXPLAIN(1,STKLABEL+STKNAME+'\n所属板块:'+BLKNAME),colorFFFF80; EXPLAIN(CLOSE>0,'〓

K 线形态分析〓 '),colorFFFFFF;}

{大智慧K线自动解盘

:}

早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)

ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND

CLOSE>REF(CLOSE,2);

黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND

REF(OPEN,1)>REF(CLOSE,2) AND

ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND

CLOSE

长十字:=CLOSE=OPEN AND HIGH/LOW

>1.03;

垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND

CLOSE<>HIGH;

早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND

REF(OPEN,1)

CLOSE/OPEN>1.05

AND CLOSE>REF(CLOSE,2);

黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 AND

REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND

CLOSE/OPEN<0.95

AND CLOSE

射击之星:=MIN(OPEN,CLOSE)=LOW AND

HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND

CLOSE>MA(CLOSE,5);

倒转锤头:=MIN(OPEN,CLOSE)=LOW AND

HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE

锤头:=HIGH =

MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND

CLOSE

吊颈:=HIGH = MAX(OPEN,CLOSE) AND

HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND

CLOSE>MA(CLOSE,5);

穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND

CLOSE/OPEN<0.96 AND CLOSEREF(CLOSE,1)) OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND

CLOSE>REF(OPEN,1) AND

OPEN

乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND

CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND

CLOSE

曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND

CLOSE/OPEN>1.03 AND OPEN

CLOSE>REF(CLOSE,1);

身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04

AND ABS(CLOSE-OPEN)/CLOSE<0.005 AND

MAX(CLOSE,OPEN)

MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));

十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04

AND CLOSE=OPEN AND CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1));

平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;

平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001

and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001);

相关文档
最新文档