//
TYP := (HIGH + LOW + CLOSE)/3;
CC1: (TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),colorgray,DOTLINE;//,nodraw//coloryellow,,colorgray,LINETHICK1;
C1:=SMA(CC1,3,1);//
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;//
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);//机密//
DRAWBAND(CC1,RGB(255,0,0),0,RGB(255,255,90));//FILLRGN(买卖值,0,买卖值>0,RGB(255,0, 0),买卖值<0,colorligreen);//,colorred,RGB
DRAWBAND(100,0,-100,0);//
//
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*280;
K:SMA(RSV,2,1),coloraaaaaa,nodraw;
D:SMA(K,2,1),coloraaaaaa;//,nodraw//
//提供//
操作线:3*K-2*d,COLOR0000AA,LINETHICK3;//,COLORFF00FF//
金线:260-260*(HHV(HIGH,5*12)-CLOSE)/(HHV(HIGH,5*12)-LLV(LOW,5*12)),coloryellow,linethick2;
龙腾:=CROSS(金线,5);//
四海:=CROSS(92,金线);
DRAWICON(龙腾,10,1);
DRAWICON(四海,100,2);
d27:="kdj.d"(27,3,3);//
DRAWTEXT_FIX(1,0.01,0.82,0,'《红穿黄线买必涨下穿卖》指标有偿购买使用红线上穿黄线买入;下穿黄线卖出。----'),coloryellow;
//机密//,nodraw//
//单阳不版//,nodraw//
N:=1;
S:=1;//
阳涨幅:=4;//
阳倍量:=1.9;//机密// www.gszb.com
单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;//
DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*3.78,'阳大涨'),colorred;
高不破价:=REF(C,BARSLAST(单阳));//
中不破价:=REF((C+L)/2,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));//
单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*3.78,'1'),colorred;
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*3.78,'2'),colorred;
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*2.78,'3'),colorred;
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*2.88,'4'),colorred;
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*2.88,'5'),colorred;
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*2.88,'6'),colorred;
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*2.88,'7'),colorred;
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*2.88,'8'),colorred;
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*2.88,'9'),colorred;
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*2.88,'10'),colorred;
两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;
一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价;
较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价;
//机密//
LC:=REF(CLOSE,1);//机密// //
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;
卖:IF(卖点,6.5,0)*10,,STICK,colorgreen,LINETHICK4;
//COLOR00FFFF//colorred
////
获利99:=MA(COST(80),5);
均线5日:=MA(COST(20),5);//机密//
A1:=(((获利99 - 均线5日) / 均线5日) * 100);//机密//
密旨线:A1,,COLORFF00FF,LINETHICK2;
DRAWTEXT_FIX(1,0.0,0.0,0,'~~~~~《红穿黄线买必涨下穿卖》指标使用说明:'),colorred,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.06,0,'ˉˉˉˉˉ要件:1.必须在红区;2.必须上穿黄线;3.上穿粉红密旨线涨;并且粉红密旨线最好已经在下方。'),colorgreen,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.12,0,'ˉˉˉˉˉ4.出现阳大涨;5.出现强股小黄柱且和和强股买入红柱重叠。'),colorgreen,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.18,0,'ˉˉˉˉˉ奉颂必赚密旨:红线须上穿黄线。所有一切必须3穿5均线且已上穿60-20-10均线。'),colorgreen,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.24,0,'ˉˉˉˉˉˉ'),colorgreen,LINETHICK0;
//机密// /
AS1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
AA1:=SMA(AS1,3,1);
BB1:=SMA(AA1,3,1);
AB1:=CROSS(AA1,BB1);
DD1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DD2:=EMA(DD1,9);
AD1:=CROSS(DD1,DD2);
// /
强股买入:IF(AB1 AND AD1,0.8,0)*60,STICK,LINETHICK8,colorred;
EE1:=C>EMA(C,13);
EE2:=EMA(C,13)>REF(EMA(C,13),1);
DRAWTEXT(强股买入 AND EE1 AND EE2,0.8,'←买入'),colormagenta;
AB2:=CROSS(BB1,AA1);
AD2:=CROSS(DD2,DD1);
//,nodraw//
V1:=CROSS(MA(V,5),MA(V,10));
DRAWICON(V1 AND AD1,0.3,'←量价齐升'),LINETHICK1,COLORFFFF00;
M1:=CROSS(MA(C,5),MA(C,10));
强股:IF(V1 AND M1,0.5,0)*60,STICK,LINETHICK5,coloryellow;
請一定要下載導入公式,否則源碼不齊