第三次组合源码如下
{圣灵石出击}
MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);MA5:MA(CLOSE,120);MA6:MA(CLOSE,250);
圣:=EMA(HHV(HIGH,1),8);
灵:=EMA(CLOSE,8);
石:=((灵 < REF(灵,1)) AND (CLOSE < 灵));
仙:=IF(((圣 < REF(圣,1)) OR 石),1,0);
圣灵石出击:=((((COUNT((仙 = 1),4) = 3) AND (仙 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWICON((圣灵石出击 >=89),L*0.97,1);
DRAWTEXT((圣灵石出击 >=89),L*0.97,'圣灵石出击'),COLORYELLOW;
{圣灵石出击用法:信号出现,均为标致性的买点。有资金必介入了其中!}
{灵石飞燕}
圣1:=EMA(C,250);
灵1:=COUNT(C>圣1,10)>=8 AND (CROSS(L,圣1*1.02) OR CROSS(L,圣1));
石1:=FILTER(COUNT(灵1,3) AND C>圣1,5);
DRAWICON(石1,L*0.96,1);
DRAWTEXT(石1,L*0.96, '飞燕'),COLORYELLOW;
{圣灵石之灵石飞燕指标用法:1灵石飞燕出,成就的是阳K线!2灵石飞燕出,失败的是长阴K线!};
{灵石黄金线}
圣灵石黄金线:(EMA(C,18)),POINTDOT,LINETHICK5,COLORYELLOW;
{圣灵石黄金线用法:股价在线上,买错也要买!股价在线下,卖错也要卖!};
{圣灵石加速度}
圣灵石:=SMA(C,6.5,1);
圣灵石仙:=SMA(C,13.5,1);
DRAWICON(CROSS(圣灵石,圣灵石仙),L*0.985,1);
DRAWTEXT(CROSS(圣灵石,圣灵石仙),LOW *0.985,'加速度' ),COLORYELLOW;
{圣灵石加速度指标用法:
1、加速度信号出,买错也要买!!!
2、次日如上涨,可以赚钱出来(视为短线操作!);如次日被套,放心持有,因为在洗盘。不赚钱不出来!
3、信号出现后的“下跌”,是区分主力出逃和洗盘的标准之一(“下跌”仅是洗盘!!!)!
4、只要有圣灵石的地方,就有资金活动,永恒的圣灵石!};
{圣灵石股海明灯}
圣灵石1:EMA(C,3),LINETHICK2;
圣灵石仙1:EMA(C,7),LINETHICK2;
圣2:=IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100<-20,-20,IF((EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100>100,100,(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40)-EMA(EMA((C*2+H+L)/4,1)-EMA((C*2+H+L)/4,40),5))*100));
灵2:=IF((3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1>100,100,IF((3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1<-5,-5,(3*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20-2*SMA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*20,3,1))*1));
石2:=IF((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120>100,100,(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*120);
股海神灯:=CROSS(圣2,灵2) AND CROSS(80,石2);
DRAWICON(股海神灯,L*0.98,1);
DRAWTEXT(股海神灯,LOW *0.98,'股海神灯' ),COLORYELLOW;
{
STICKLINE(股海神灯,H,L,6,0),LINETHICK1,COLORRED;
STICKLINE(股海神灯,H,L,0.2,0),COLORYELLOW;
STICKLINE(股海神灯,O,C,2,0),LINETHICK1,COLORYELLOW;
DRAWICON(股海神灯,(H+L)/2,7);}
{圣灵石股海神灯指标用法:1: 圣灵石线上穿圣灵石仙线,是买入时机!反之死叉是卖出!2 : 股海神灯出现,就是资金活跃的地方。3: 第(2)条服从第(1)条!4:永恒的圣灵石!};
|