flower dance第一视角:五彩K线指标公式集

来源:百度文库 编辑:偶看新闻 时间:2024/04/29 16:41:03

五彩K线指标公式集

  五彩K线指标公式集

五彩K线公式:K110 (早晨之星)   缺省周期:日线
BACKSET(
REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),
3)

五彩K线公式:K120 (黄昏之星)   缺省周期:日线
BACKSET(
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 CLOSE3)

五彩K线公式:K130 (十字星)   缺省周期:日线
CLOSE=OPEN AND HIGH<>LOW

五彩K线公式:K132 (长十字)   缺省周期:日线
CLOSE=OPEN AND
HIGH/LOW > 1.03

五彩K线公式:K134 (垂死十字)   缺省周期:日线
CLOSE=OPEN AND
CLOSE=LOW AND
CLOSE<>HIGH

五彩K线公式:K140 (早晨十字星)   缺省周期:日线
BACKSET(
REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),
3)

五彩K线公式:K150 (黄昏十字星)   缺省周期:日线
BACKSET(
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 CLOSE3)

五彩K线公式:K160 (射击之星)   缺省周期:日线
MIN(OPEN,CLOSE)=LOW AND
HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND
CLOSE > MA(CLOSE,5)

五彩K线公式:K165 (倒转锤头)   缺省周期:日线
MIN(OPEN,CLOSE)=LOW AND
HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND
CLOSE < MA(CLOSE,5)

五彩K线公式:K170 (锤头)   缺省周期:日线
HIGH = MAX(OPEN,CLOSE) AND
HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND
CLOSE < MA(CLOSE,5)

五彩K线公式:K180 (吊颈)   缺省周期:日线
HIGH = MAX(OPEN,CLOSE) AND
HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND
CLOSE > MA(CLOSE,5)

五彩K线公式:K190 (穿头破脚)   缺省周期:日线
BACKSET(
(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 OPEN2)

五彩K线公式:K200 (乌云盖顶)   缺省周期:日线
BACKSET(
REF(CLOSE,1)/REF(OPEN,1)>1.03 AND
CLOSE/OPEN<0.97 AND
OPEN>REF(CLOSE,1) AND
CLOSE3)

五彩K线公式:K210 (曙光初现)   缺省周期:日线
BACKSET(
REF(CLOSE,1)/REF(OPEN,1)<0.97 AND
CLOSE/OPEN>1.03 AND
OPENCLOSE>REF(CLOSE,1),
2)

五彩K线公式:K220 (身怀六甲)   缺省周期:日线
BACKSET(
ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND
ABS(CLOSE-OPEN)/CLOSE<0.005 AND
MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND
MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1)),
2)

五彩K线公式:K230 (十字胎)   缺省周期:日线
BACKSET(
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)),
2)

五彩K线公式:K240 (平顶)   缺省周期:日线
BACKSET(ABS(HIGH-REF(HIGH,1))/HIGH<0.001,2)

五彩K线公式:K250 (平底)   缺省周期:日线
BACKSET((ABS(LOW-REF(LOW,1))/LOW<0.001 and
abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001),2)

五彩K线公式:K260 (大阳烛)   缺省周期:日线
CLOSE/OPEN>1.05 AND
HIGH/LOW < CLOSE/OPEN+0.018

五彩K线公式:K270 (大阴烛)   缺省周期:日线
OPEN/CLOSE > 1.05 AND
HIGH/LOW < OPEN/CLOSE+0.018

五彩K线公式:K280 (好友反攻)   缺省周期:日线
BACKSET(
(REF(CLOSE,1)CLOSE>OPEN AND
ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)
OR
(REF(CLOSE,1)>REF(OPEN,1) AND
CLOSEABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),
2)

五彩K线公式:K290 (跳空缺口)   缺省周期:日线
BACKSET(
HIGHLOW>REF(HIGH,1),
2)

五彩K线公式:K300 (三个白武士)   缺省周期:日线
BACKSET(
REF(CLOSE,2)>REF(OPEN,2) AND
REF(CLOSE,1)>REF(OPEN,1) AND
CLOSE>OPEN AND
REF(CLOSE,1)>REF(CLOSE,2) AND
CLOSE>REF(CLOSE,1),
3)

五彩K线公式:K310 (三只乌鸦)   缺省周期:日线
BACKSET(
REF(CLOSE,2)REF(CLOSE,1)CLOSEREF(CLOSE,1)CLOSE3)

五彩K线公式:K320 (双飞乌鸦)   缺省周期:日线
BACKSET(
REF(CLOSE,1)CLOSECLOSE/OPEN<0.98,
1)

五彩K线公式:K330 (上升三部曲)   缺省周期:日线
BACKSET(
REF(CLOSE,4)/REF(OPEN,4)>1.03 AND
REF(CLOSE,3)REF(CLOSE,2)REF(CLOSE,1)REF(LOW,4)REF(LOW,4)REF(LOW,4)REF(HIGH,4)>REF(HIGH,3) AND
REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND
CLOSE/OPEN>1.03 AND
CLOSE>REF(CLOSE,4),
5)

五彩K线公式:K340 (下跌三部曲)   缺省周期:日线
BACKSET(
REF(CLOSE,4)/REF(OPEN,4)<0.97 AND
REF(CLOSE,3)>REF(OPEN,3) AND
REF(CLOSE,2)>REF(OPEN,2) AND
REF(CLOSE,1)>REF(OPEN,1) AND
REF(LOW,4)REF(LOW,4)REF(LOW,4)REF(HIGH,4)>REF(HIGH,3) AND
REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND
CLOSE/OPEN<0.97 AND
CLOSE5)

五彩K线公式:K350 (长下影)   缺省周期:日线
(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667

五彩K线公式:K360 (长上影)   缺省周期:日线
(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,COLORBLUE

五彩K线公式:K370 (分离)   缺省周期:日线
BACKSET(
OPEN=REF(OPEN,1) AND
(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,
2)

五彩K线公式:K380 (光头阳线)   缺省周期:日线
HIGH=CLOSE AND
HIGH<>LOW

五彩K线公式:K390 (光脚阴线)   缺省周期:日线
LOW=CLOSE AND
HIGH<>LOW

五彩K线公式:K400 (孕育线)   缺省周期:日线
参数描述: N(1,100,2)N1(1,100,2)N2(1,100,2)N3(1,100,1)
BACKSET(REF(CLOSE,2)>REF(OPEN,2) AND
(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=N/100   AND
REF(OPEN,1)>=REF(CLOSE,1) AND
(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=N1/100 AND
REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND
C>=OPEN AND
(CLOSE-OPEN)/OPEN>=N2/100
AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)
AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=N3/100
,3)

                   同花顺五彩K线                        早晨之星 a1=ABS(CLOSE-OPEN)/OPEN<0.005 AND (HIGH-LOW)/ABS(CLOSE-OPEN)>2;
a2=COUNT(a1,2)==1 AND COUNT(a1,1)==0;
a3=REF(LOW,1)==LLV(LOW,13) AND REF(CLOSE,1)==LLV(CLOSE,13);
a=a2*a3;
IF(a==1)RETURN BACKSET("colorred",2);
ELSE RETURN("colorgreen");                            黄昏之星   a1=ABS(CLOSE-OPEN)/OPEN<0.01 AND (HIGH-LOW)/ABS(CLOSE-OPEN)>2;
a2=COUNT(a1,2)==1 AND COUNT(a1,1)==0;
a3=REF(HIGH,1)==HHV(HIGH,13) AND REF(CLOSE,1)==HHV(CLOSE,13);
a=a2*a3;
IF(a==1)RETURN BACKSET("colorred",2);
ELSE RETURN("colorgreen");                                    十字星 IF(CLOSE==OPEN AND HIGH!=CLOSE AND LOW!=CLOSE) RETURN("colorred");
ELSE RETURN("colorgreen");                                      长十字星 IF(CLOSE==OPEN AND HIGH!=CLOSE AND LOW!=CLOSE AND HIGH/LOW>1.03) RETURN("colorred");
ELSE RETURN("colorgreen");                                        垂死丁字 IF(CLOSE==OPEN AND CLOSE==LOW AND CLOSE!=HIGH) RETURN("colorred");
ELSE RETURN("colorgreen");                                          射击之星 IF(MIN(OPEN,CLOSE)==LOW AND (HIGH-LOW)> 3*(MAX(OPEN,CLOSE)-LOW)
AND CLOSE > MA(CLOSE,5)) RETURN("colorred");
ELSE RETURN("colorgreen");                                          穿头破脚 IF(CLOSE[1]/OPEN[1]>1.03 AND CLOSE/OPEN<0.96 AND
 CLOSECLOSE[1])
{
  BACKSET("colorred",1);
  RETURN("colorgreen");
}
IF(CLOSE[1]/OPEN[1]<0.97 AND
 CLOSE/OPEN>1.04 AND CLOSE>OPEN[1] AND OPEN{
 BACKSET("colorgreen",1);
 RETURN("colorred");
}
ELSE RETURN("coloryellow");                                         三红兵 IF(CLOSE[2]>OPEN[2] AND CLOSE[1]>OPEN[1] AND CLOSE>OPEN AND
 CLOSE[1]>CLOSE[2] AND CLOSE>CLOSE[1])
 {RETURN BACKSET("colorred",2);}
ELSE RETURN "colorgreen";                                                      三只乌鸦   IF(CLOSE[2] CLOSE[1] {
  RETURN BACKSET("colorgreen",2);
 }
ELSE RETURN("colorred");                                          光头阳线 IF(HIGH==CLOSE AND HIGH!=LOW)
 {RETURN "colorred";}
ELSE RETURN "colorgreen"                                              红绿灯 RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K=SMA(RSV,M1,1);
D=SMA(K,M2,1);
W=-100*(HHV(HIGH,100)-CLOSE)/(HHV(HIGH,100)-LLV(LOW,100));
W1=-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
IF(CLOSE>OPEN AND D>15 AND K>12 AND D<82 AND K<88) RETURN "COLORRED";
ELSE  IF(D<15 AND K<12) RETURN "COLORYELLOW";
ELSE IF(D>82 AND K>88) RETURN "COLORGREEN";
ELSE IF(W>-0.01) RETURN "COLORBLUE";
ELSE IF(W1<-99.9) RETURN "COLORWHITE";
ELSE RETURN "COLORGREEN"
                                        操盘区域   a1=CLOSE>MA(CLOSE,n);
a2=CLOSE>MA(CLOSE,m) AND CLOSEIF(a1==1)RETURN ("colorred");
ELSE IF (a2==1) RETURN("coloryellow");
ELSE RETURN("colorgreen");                                  平台整理 (HHV(HIGH,N)-LLV(LOW,N))/LLV(LOW,N)<=(m/100)