吐血发我的精品--不回复不全,不好意思,劳动光荣。
参数:p1(1.1000. 3)X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
X3:=REF(X2,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
PO:=MA(CLOSE,60);
MAQ:=MA(CLOSE,120);
压力:HHV(CLOSE,40);
B0:=MA(CLOSE,3);
B01:=MA(CLOSE,4);
B1:=(((HIGH + LOW) + CLOSE) / 3);
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=(B2 - B3);
B5:=(MA(((B1 - B3) / B4),2) * 100);
B6:=HHV(B1,(4 * 15));
B7:=LLV(B1,(4 * 15));
B8:=(B6 - B7);
B9:=(MA(((B1 - B7) / B8),2) * 100);
BA:=HHV(B1,(16 * 15));
TB:=LLV(B1,(16 * 15));
BC:=(BA - TB);
BD:=(MA(((B1 - TB) / BC),2) * 100);
顶线:=98;
底线:=1;
VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=((3 * VAR4) - (2 * VAR5));
VAR2A:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3A:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4A:=SMA(VAR3A,9,1);
VAR6:=SMA(VAR5,5,1);
A2:=EMA(VAR4,8);
DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2A > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),COLORFFFFCC;
DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),COLORCC99FF;
支撑:LLV(OPEN,60);
DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底');
VAR1B:=EMA(CLOSE,8);
VAR2B:=EMA(VAR1B,20);
VAR3B:=CROSS(VAR1B,VAR2B);
VAR4B:=(VAR1B < MA(CLOSE,P1));
VAR5B:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR6B:=SMA(VAR5B,5,1);
VAR7B:=SMA(VAR6B,8,1);
VAR8B:=(CROSS(VAR6B,VAR7B) AND (VAR7B < 20));
VAR9B:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8B);
VARA:=IF((CLOSE > 1000),VAR8B,VAR9B);
黑马起步:=(VAR3B AND VAR4);
DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马');
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');
X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓');
DRAWTEXT((黑马起步 > 0),LOW,'★出击');
SG:=EMA(HHV(HIGH,1),8);
X10:=EMA(CLOSE,8);
X30:=((X10 < REF(X10,1)) AND (CLOSE < X10));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入');
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,4,1);
D:=SMA(K,5,1);
J1:=((3 * K) - (2 * D));
VAR2C:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3C:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4C:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5C:=(((VAR2C + (2 * VAR3C)) + (3 * VAR4C)) / 6);
VAR6C:=MA(VAR5C,3);
底部:=IF((VAR6C < (0 - 9)),20,0);
DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓'); 生命线:MA(CLOSE,26),COLORRED,LINETHICK2;
STICKLINE(C>=生命线 AND C>=O,H,L,0,1),COLORRED;
STICKLINE(C>=生命线 AND C>=O,C,O,2.5,0),COLORRED;
DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ;
多头线:EMA(C,1.5),COLOR0000CC;
空头线:EMA(C,5),COLORMAGENTA;
均衡线:EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡线*0.98,'↖主力拉升'),COLOR00FF00;
MTM:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,2.5,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,2.5,0),COLORBLUE;
白买进:DRAWNULL,NODRAW,COLORWHITE;
黄加仓:DRAWNULL,NODRAW,COLORYELLOW;
蓝跌:DRAWNULL,NODRAW,COLORBLUE;
绿见顶:DRAWNULL,NODRAW,COLORGREEN;
红强势:DRAWNULL,NODRAW,COLORRED;
红蓝调整:DRAWNULL,NODRAW,COLORGRAY;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'↖买 '),COLOR4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),'卖 '),COLORFFFF34;
VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);VAR4:=EMA(C,20);VAR5:=EMA(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;VAR9:=EMA(VAR7,8);
STICKLINE(VAR7<1*REF(VAR7,1),H,L,0,1),COLORBLUE;
STICKLINE(VAR7<1*REF(VAR7,1),O,C,2.5,1),COLORBLUE;
STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.5,0),COLORBLACK;
STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.3,0),COLORBLUE;
STICKLINE(VAR7>1*REF(VAR7,1),H,L,0,1),COLORRED;
STICKLINE(VAR7>1*REF(VAR7,1),O,C,2.5,1),COLORRED;
STICKLINE(VAR7>1*REF(VAR7,1) AND C<O,O,C,2.5,0),COLOR0000DD;
STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0,1),COLORGREEN;
STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,2.5,1),COLORGREEN;
STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1) AND C<O,O,C,2.5,0),COLORGREEN;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;
STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,2.5,0),COLORYELLOW,LINETHICK2; 发表于 2010-5-8 09:04 | 只看该作者 回帖奖励
参数:p1(1.1000. 3)
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
X3:=REF(X2,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
PO:=MA(CLOSE,60);
MAQ:=MA(CLOSE,120);
压力:HHV(CLOSE,40);
B0:=MA(CLOSE,3);
B01:=MA(CLOSE,4);
B1:=(((HIGH + LOW) + CLOSE) / 3);
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=(B2 - B3);
B5:=(MA(((B1 - B3) / B4),2) * 100);
B6:=HHV(B1,(4 * 15));
B7:=LLV(B1,(4 * 15));
B8:=(B6 - B7);
B9:=(MA(((B1 - B7) / B8),2) * 100);
BA:=HHV(B1,(16 * 15));
TB:=LLV(B1,(16 * 15));
BC:=(BA - TB);
BD:=(MA(((B1 - TB) / BC),2) * 100);
顶线:=98;
底线:=1;
VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=((3 * VAR4) - (2 * VAR5));
VAR2A:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3A:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4A:=SMA(VAR3A,9,1);
VAR6:=SMA(VAR5,5,1);
A2:=EMA(VAR4,8);
DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2A > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),COLORFFFFCC;
DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),COLORCC99FF;
支撑LV(OPEN,60);
DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底');
VAR1B:=EMA(CLOSE,8);
VAR2B:=EMA(VAR1B,20);
VAR3B:=CROSS(VAR1B,VAR2B);
VAR4B:=(VAR1B < MA(CLOSE,P1));
VAR5B:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR6B:=SMA(VAR5B,5,1);
VAR7B:=SMA(VAR6B,8,1);
VAR8B:=(CROSS(VAR6B,VAR7B) AND (VAR7B < 20));
VAR9B:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8B);
VARA:=IF((CLOSE > 1000),VAR8B,VAR9B);
黑马起步:=(VAR3B AND VAR4);
DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马');
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');
X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓');
DRAWTEXT((黑马起步 > 0),LOW,'★出击');
SG:=EMA(HHV(HIGH,1),8);
X10:=EMA(CLOSE,8);
X30:=((X10 < REF(X10,1)) AND (CLOSE < X10));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入');
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,4,1);
D:=SMA(K,5,1);
J1:=((3 * K) - (2 * D));
VAR2C:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3C:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4C:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5C:=(((VAR2C + (2 * VAR3C)) + (3 * VAR4C)) / 6);
VAR6C:=MA(VAR5C,3);
底部:=IF((VAR6C < (0 - 9)),20,0);
DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓');
评分 #在这里快速回复#参数:p1(1.1000. 3)X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6); X2:=EMA(X1,10); X3:=REF(X2,1); MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); PO:=MA(CLOSE,60); MAQ:=MA(CLOSE,120); 压力:HHV(CLOSE,40); B0:=MA(CLOSE,3); B01:=MA(CLOSE,4); B1:=(((HIGH + LOW) + CLOSE) / 3); B2:=HHV(B1,15); B3:=LLV(B1,15); B4:=(B2 - B3); B5:=(MA(((B1 - B3) / B4),2) * 100); B6:=HHV(B1,(4 * 15)); B7:=LLV(B1,(4 * 15)); B8:=(B6 - B7); B9:=(MA(((B1 - B7) / B8),2) * 100); BA:=HHV(B1,(16 * 15)); TB:=LLV(B1,(16 * 15)); BC:=(BA - TB); BD:=(MA(((B1 - TB) / BC),2) * 100); 顶线:=98; 底线:=1; VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100); VAR4:=SMA(VAR3,9,1); VAR5:=SMA(VAR4,3,1); J:=((3 * VAR4) - (2 * VAR5)); VAR2A:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR3A:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100); VAR4A:=SMA(VAR3A,9,1); VAR6:=SMA(VAR5,5,1); A2:=EMA(VAR4,8); DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2A > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),COLORFFFFCC; DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),COLORCC99FF; 支撑LV(OPEN,60); DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底'); VAR1B:=EMA(CLOSE,8); VAR2B:=EMA(VAR1B,20); VAR3B:=CROSS(VAR1B,VAR2B); VAR4B:=(VAR1B < MA(CLOSE,P1)); VAR5B:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR6B:=SMA(VAR5B,5,1); VAR7B:=SMA(VAR6B,8,1); VAR8B:=(CROSS(VAR6B,VAR7B) AND (VAR7B < 20)); VAR9B:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8B); VARA:=IF((CLOSE > 1000),VAR8B,VAR9B); 黑马起步:=(VAR3B AND VAR4); DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马'); XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04)); XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100); XL3:=CROSS(XL2,(0 - 20)); DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部'); X4:=((REF(HIGH,1) + REF(LOW,1)) / 2); X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21))); X6:=REF(CLOSE,1); X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7); DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓'); DRAWTEXT((黑马起步 > 0),LOW,'★出击'); SG:=EMA(HHV(HIGH,1),8); X10:=EMA(CLOSE,8); X30:=((X10 < REF(X10,1)) AND (CLOSE < X10)); X31:=IF(((SG < REF(SG,1)) OR X30),1,0); 全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89); DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入'); RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,4,1); D:=SMA(K,5,1); J1:=((3 * K) - (2 * D)); VAR2C:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100); VAR3C:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100); VAR4C:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100); VAR5C:=(((VAR2C + (2 * VAR3C)) + (3 * VAR4C)) / 6); VAR6C:=MA(VAR5C,3); 底部:=IF((VAR6C < (0 - 9)),20,0); DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓'); 参数:p1(1.1000. 3) 进来看看 谢谢楼主分享了 好好学习天天向上。 进来看看 谢谢楼主分享了 劳动光荣学习学习学习学习学习学习 当前公式 : 全仓出击 (指标画线公式)
错误句 :
支撑LV(OPEN,60)
详细信息 : 您在括号前写的不是函数、公式等,
且缺少必要的运算符!
错误起始位置 : 1178 ; 长度: 8 学习了,谢谢分享 好好学习天天向上。 进来看看 谢谢楼主分享了 hhhhhhhhhhhhhhhhhhhhhhhhh 谢谢分享。 感谢楼主的分享 好用一起学习