1、庄资入场量 VAR1:=EMA(HHV(HIGH,500),21);VAR2:=EMA(HHV(HIGH,250),21); VAR3:=EMA(HHV(HIGH,90),21);VAR4:=EMA(LLV(LOW,500),21); VAR5:=EMA(LLV(LOW,250),21);VAR6:=EMA(LLV(LOW,90),21); VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21); VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21); VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21); VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);VARB:=REF(LOW,1); VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100; VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3); VARE:=LLV(LOW,30);VARF:=HHV(VARD,30);VAR10:=IF(MA(CLOSE,58),1,0); 资金入场: EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10; IF(资金入场>0,资金入场,0),STICK,LINETHICK2,COLOR0000FF; 今量: 资金入场;A1:IF(资金入场>0,今量*1.2,0),STICK,LINETHICK5,COLOR0000FF; A2:IF(资金入场>0,今量*0.8,0),STICK,LINETHICK5,COLOR0066FF; A3:IF(资金入场>0,今量*0.6,0),STICK,LINETHICK5,COLOR0099FF; A4:IF(资金入场>0,今量*0.4,0),STICK,LINETHICK5,COLOR00CCFF; A5:IF(资金入场>0,今量*0.2,0),STICK,LINETHICK5,COLOR00FFFF; DRAWTEXT_FIX(1,0.08,0.001,0,'庄资入场好标的,与庄共舞时刻至。'),COLORMAGENTA; 2、蝴蝶AA {公式名称: 蝴蝶AA 公式描述: AA 无参数 公式类型: 技术指标公式-策略型 画线方法: 主图叠加 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} X_1:=REF(HIGH,1)-REF(LOW,1); X_2:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1))/3; X_3:=362-253+3+478+314+DATE-904; X_4:=X_2+X_1; X_5:=X_2+X_2-REF(LOW,1); X_6:=2260317+134168+1122000+457711+504030+308+23079-11012; X_7:=X_2+X_2-REF(HIGH,1); X_8:=MINUTE; X_9:=X_2-X_1; X_10:=6543+6578+4125; X_11:=HIGH-LOW; X_12:=IF(X_3<X_6 AND X_3>X_10,1,0); X_13:=IF(X_8=5,0,1)*X_12; X_14:=5*CLOSE-4*CLOSE; X_15:=(96+324+36+45+78-63+96-572)/2; X_16:=IF(X_8=0,1,0)*X_12; X_17:=(HIGH+LOW+CLOSE)/3; X_18:=X_17+X_11; X_19:=3*OPEN-2*OPEN; X_20:=IFN(X_8=15,1,0)*X_12; X_21:=X_17+X_17-LOW; X_22:=X_17+X_17-HIGH; X_23:=IF(X_8=60,0,1)*X_12; X_24:=X_17-X_11; X_25:=(CLOSE-LLV(LOW,657))/(HHV(HIGH,474)-LLV(LOW,77))*1474; X_26:=IFN(X_8=740,1,0)*X_12; X_27:=SMA(X_25,747,1); X_28:=447; X_29:=IF(X_3<X_6 AND DATE>X_10,1,0); X_30:=IF(X_13 AND X_20 AND X_26 AND X_23 AND X_16,1,0); X_31:=X_2+X_2-REF(HIGH,1); X_32:=IFN(NOT(X_29 AND X_30 AND X_26),1,0); X_33:=IF(X_8>=0,1,0); X_34:=X_2-X_1; X_35:=(HIGH+LOW+CLOSE)/3; X_36:=IFN(X_33 AND X_30 AND X_20,0,1); X_37:=IF(NOT(X_36*X_30 AND X_16 AND X_13),0,1); X_38:=IF(NOT(X_29 AND X_33 AND X_32*X_29 AND X_30),0,1); X_39:=X_17+X_17-LOW; X_40:=X_2+X_1; X_41:=X_2+X_2-REF(LOW,1); X_42:=7*LOW-6*LOW; X_43:=IFN(X_29 AND X_30 AND X_36*X_30 AND X_32*X_29,0,1); X_44:=IFN(X_32 AND X_20 AND X_30,0,1); X_45:=HIGH-LOW; X_46:=IF(NOT(X_38 AND X_26*X_13 AND X_30),0,1); X_47:=X_17+X_11; X_48:=(4*HIGH-3*HIGH)*X_43; X_49:=X_17+X_17-HIGH; X_50:=IF(X_33*X_13*X_23*X_20,1,0); X_51:=IFN(X_43,0,1); X_52:=REF(HIGH,1)-REF(LOW,1); X_53:=IF(NOT(X_32*X_29 AND X_32*X_26 AND X_46 AND X_30),0,1); X_54:=IFN(X_36 AND X_37*X_36*X_13 AND X_50,0,1); X_55:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1))/3; X_56:=IFN(NOT(X_29*X_38 AND X_33 AND X_38*X_29 AND X_30),1,0); X_57:=SMA(X_27,15,1); X_58:=100-3*X_27+2*X_57; X_59:=IFN(NOT(X_29*X_38 AND X_26 AND X_33*X_20 AND X_43*X_29),1,0); X_60:=IFN(NOT(X_29*X_20*X_43 AND X_43 AND X_43*X_29 AND X_30),1,0); X_61:=(-98); X_62:=(3*X_27+2*X_57)/4; X_63:=IFN(NOT(X_29*X_36 AND X_33 AND X_32*X_29 AND X_23),1,0); X_64:=IF(X_46 AND X_29*X_60 AND X_56*X_30 AND X_63*X_13 AND X_38*X_26,(MA(CLOSE,4)+EMA(CLOSE,4))/2*X_63,0); X_65:=REF(X_62,1); X_66:=132; X_67:=(CLOSE+LOW+HIGH)/3; X_68:=EMA(X_67,6); X_69:=EMA(X_68,5); X_70:=24; 熊市区:IF(X_46*X_56 AND X_23 AND X_63 AND X_30*X_46 AND X_56 AND X_38 AND X_59*X_29,X_59*MA((2*X_42+X_14)/3,X_15)*X_29,0),LINESTICK,COLORGRAY; X_71:=IF(X_46*X_56 AND X_23 AND X_63 AND X_30*X_46 AND X_56 AND X_38 AND X_59*X_29,X_59*MA((2*X_42+X_14)/3,X_15)*X_29,0); X_72:=8; X_73:=HIGH-LOW; X_74:=(HIGH+LOW+CLOSE)/3; X_75:=(CLOSE+LOW+HIGH)/3; STICKLINE(X_14*X_38*X_63>X_43*X_71*X_38 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORRED; STICKLINE(X_14*X_38*X_63>X_43*X_71*X_38 AND CLOSE>=OPEN,X_48,CLOSE,0,0),COLORRED; X_76:=30; X_77:=(-150); X_78:=ABS(ABS(X_62)-ABS(X_58)); STICKLINE(X_14*X_38*X_63>X_43*X_71*X_38 AND CLOSE<OPEN,OPEN,X_14,1.8,0),COLORRED; X_79:=(CLOSE+LOW+HIGH)/9; X_80:=EMA(X_67,3); X_81:=ABS(ABS(X_62)-ABS(X_78)); X_82:=EMA(X_79,1); 牛市区:IF(X_60*X_63 AND X_23 AND X_53 AND X_63 AND X_30*X_46 AND X_56 AND X_38 AND X_59*X_29,X_59*MA((X_48+2*X_14)/3,X_15)*X_29,0),COLORRED; X_83:=IF(X_60*X_63 AND X_23 AND X_53 AND X_63 AND X_30*X_46 AND X_56 AND X_38 AND X_59*X_29,X_59*MA((X_48+2*X_14)/3,X_15)*X_29,0); X_84:=EMA(X_80,1); X_85:=EMA(X_84,1); DRAWTEXT(X_38*CROSS(X_14*X_29*X_38*X_43*X_63,X_83*X_38),LOW*0.98,'抄底'),COLORYELLOW,LINETHICK3; X_86:=100*(CLOSE-LLV(LOW,153))/(HHV(HIGH,541)-LLV(LOW,522)); X_87:=MA(X_86,3); STICKLINE(X_14*X_38*X_63>X_43*X_71*X_38 AND CLOSE<OPEN,OPEN,X_48,0,1),COLORRED; STICKLINE(X_14*X_38*X_63>X_43*X_71*X_38 AND CLOSE<OPEN,CLOSE,X_42,0,1),COLORRED; X_88:=EMA(AMOUNT/VOL/100,5); DRAWTEXT(X_43*CROSS(X_71*X_43*X_63,X_38*X_14*X_63*X_43),HIGH*1.02,2),COLORGREEN,LINETHICK3; X_89:=EMA(AMOUNT/VOL/100,558); X_90:=X_88-X_89; X_91:=EMA(AMOUNT/VOL/100,482); X_92:=X_88-X_89; STICKLINE(X_14*X_38*X_63<X_63*X_83*X_43 AND X_14*X_38*X_63<X_43*X_71*X_38 AND CLOSE>OPEN,OPEN,CLOSE,1.8,1),COLORGREEN; STICKLINE(X_14*X_38*X_63<X_63*X_83*X_43 AND X_14*X_38*X_63<X_43*X_71*X_38 AND CLOSE<=OPEN,CLOSE,OPEN,3,0),COLORGREEN; X_93:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; X_94:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; STICKLINE(X_14*X_38*X_63<X_63*X_83*X_43 AND X_14*X_38*X_63<X_43*X_71*X_38 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORGREEN; STICKLINE(X_14*X_38*X_63<X_63*X_83*X_43 AND X_14*X_38*X_63<X_43*X_71*X_38 AND CLOSE>OPEN,CLOSE,HIGH,0,1),COLORGREEN; X_95:=BARSCOUNT(CLOSE); X_96:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; X_97:=EMA(X_67,6); X_98:=EMA(X_68,5); STICKLINE(X_14<X_63*X_83*X_43 AND X_14<X_43*X_71*X_63,X_63*X_83*X_43,X_71,0,0),COLORGREEN; STICKLINE(X_14*X_38*X_63<X_63*X_83*X_43 AND X_14*X_38*X_63<X_43*X_71*X_38 AND CLOSE>OPEN,OPEN,LOW,0,1),COLORGREEN; X_99:=(-30); X_100:=80; X_101:=X_17-X_11; STICKLINE(X_14>X_43*X_71*X_38 AND X_14>X_83,X_63*X_71*X_38,X_63*X_83*X_43,0,0),COLORRED; X_102:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)); X_103:=MA(X_86,3); X_104:=EMA(AMOUNT/VOL/100,5); 公式可能有时间限制,可能,自己看源码,解除吧 3、Y庄筹线 红柱抄底,买入时机,庄进场( 顶尖财经 股票学院: http://www.58188.com ) {波段介入点} J1:=REF(CLOSE,2); J2:=SMA(MAX(CLOSE-J1,0),7,1)/SMA(ABS(CLOSE-J1),7,1)*100; 波介入:IF(J2<19,19,0),LINETHICK5,COLORFF00FF; {极品逃亡} VAR1:=REF(CLOSE,2); 会员专用:= SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORFFAA66; VAR2:=REF(CLOSE,1); VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100; 逃亡: IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0),COLORFFAA66,STICK; DRAWTEXT (逃亡,65,'逃亡针'),COLORFFAA66; 主力:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2; 见底:= 10, LINETHICK2,COLORRED ; 准备:= IF(主力<=10,50,10), LINETHICK4,COLOR369258; 买入时机: IF(CROSS(主力,见底),100,10), LINETHICK2,COLORYELLOW; {红柱抄底} BIAS1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); 红柱抄底:STICKLINE(CROSS(BIAS,乖离) AND 乖离<-9.5,60,0,2,0),COLORRED; DRAWTEXT (红柱抄底,65,'曙光'),COLORRED; V机10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); V机11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); V机12:=V机10<REF(V机11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 庄进场:= V机12 AND COUNT(V机12,30)=1; DRAWTEXT(V机12 AND COUNT(V机12,30)=1,40,'有庄进场!'),COLORYELLOW; 黄柱介入:STICKLINE(庄进场,40,0,2,0),COLORYELLOW; A2:=(5); A3:=(((2*CLOSE)+HIGH)+LOW)/4; A4:=LLV(LOW,34); A5:=HHV(HIGH,34); A6:=EMA((((A3-A4)/(A5-A4))*100),13); A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2)); 庄家轨迹:=(EMA(A7,A2)),COLORRED; A8:=(HHV(HIGH,9))-(LLV(LOW,9)); A9:=(HHV(HIGH,9))-CLOSE; A10:=CLOSE-(LLV(LOW,9)); A11:=((A9/A8)*100)-70; A12:=((CLOSE-(LLV(LOW,60)))/((HHV(HIGH,60))-(LLV(LOW,60))))*100; A13:=SMA(((A10/A8)*100),3,1); A14:=(SMA(A13,3,1))-(SMA(A11,9,1)); A15:=IF((A14>100),(A14-100),0); A16:=(EMA((((A3-A4)/(A5-A4))*100),8)); A17:=(EMA(A16,5)); A18:=(EMA(CLOSE,2)); A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42)); A20:=(HHV((MA(HIGH,13)),13)); A21:=(LLV((MA(HIGH,13)),1)); A22:=(EMA(CLOSE,4)); A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1))); A24:=BARSLAST(A23)+1; A25:=(LLV(LOW,A24))*1.3; A26:=(LLV(LOW,20))*1.418; A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26); A28:=A27 AND (FILTER(A27,A24)); {A29:=(STRFIND(STKNAME,'ST',1)) > 0;} A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ; A31:=A30 AND (FILTER(A30,20)); 庄启动:DRAWICON((A28 OR A31),庄家轨迹,26); DRAWTEXT((A28 OR A31),庄家轨迹,'←庄启动'),COLORMAGENTA; STICKLINE( 庄启动,40,0,2,0),COLORMAGENTA; 庄筹:EMA(WINNER(C)*70,5), COLORRED ,LINETHICK1; 散筹:EMA((WINNER(C*1.1)-WINNER(C*0.91))*80,3), COLORGREEN ,LINETHICK1; KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100); AAA:=REF(KS13,1)>13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03; AA1:=REF(庄筹,30)> 40 OR REF(庄筹,20)> 40; BB1:=CROSS(28,庄筹) AND 散筹> 40 AND AA1=1; CC:=REF(散筹,1)> 散筹 AND REF(庄筹,1)< 庄筹 AND 庄筹> 30 AND 散筹> 30 AND REF(庄筹,1)-REF(庄筹,2)> 3.535; DD:=COUNT(REF(散筹,1)> REF(庄筹,1),5); 鸡雀: CROSS(庄筹,散筹) AND CC=1 AND DD>=5,COLORMAGENTA; 鸡雀升天:IF(鸡雀,30,0) ,COLOR00FFFF,LINETHICK4; 筹动力:IF(庄筹>REF(庄筹,1),庄筹,DRAWNULL),COLORRED,LINETHICK7; 活鱼:IF(AAA AND REF(C,1)<COST(1),30,0),COLORWHITE ,LINETHICK2; STICKLINE(庄筹>散筹,庄筹-1,散筹+1,1,0), COLOR00FFFF; 捞活鱼: CROSS(5,庄筹) AND 散筹< 20; DRAWTEXT_FIX(1,0.08,0.0001,0,'有庄是保障,耐心等时机;控盘鸡雀至,招蜂引蝶来。'),COLORMAGENTA; DRAWTEXT_FIX(1,0.08,0.1001,0,'有量敢做多,筹动升来验;大势已启动,盛况就此时。'),COLORYELLOW; DRAWTEXT_FIX(1,0.08,0.2001,0,'指标是参考,决策综考量;工具再趁手,亦要靠自己。'),COLORRED; DRAWTEXT_FIX(1,0.08,0.3001,0,'留得三分醒,资金为王咦;复刻盈利式,疯完及止盈。'),COLORWHITE; |