早教吧作业答案频道 -->其他-->
修改公式N:=8;ZF:=5;M:=3;N10:=9;P1:=3;P2:=3;MA5:=MA(close,5);MA10:=MA(close,10);MA60:=MA(close,60);pday1:=barslast(cross(ma60,ma5));{5日均线下穿60日均线}pday2:=barslast(cross(ma60,ma10));{10日均线下穿60日均线,至此形
题目详情
修改公式
N:=8;ZF:=5;M:=3;N10:=9;P1:=3;P2:=3;
MA5 := MA(close,5);
MA10 := MA(close,10);
MA60 := MA(close,60);
pday1 := barslast(cross(ma60,ma5));{5日均线下穿60日均线}
pday2 := barslast(cross(ma60,ma10));{10日均线下穿60日均线,至此形成鸭颈部}
pday3 := barslast(low=llv(low,pday2));{形成头部,要反弹}
pday4 := barslast(cross(ma5,ma10));{反弹后,5日均线和10日均线金叉}
pday5 := barslast(cross(ma10,ma5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}
a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8ref(Var3,1),COLORFF00FF;
DRAWTEXT(老鸭头 ,0.8 , \'老鸭头\'),COLORred;
nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;
穿180线:ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;
DRAWTEXT(穿180线,0.8 , \'180\'),COLORblue;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:SMA(SMA(VAR32,3,1),3,1)/28.57,COLORMAGENTA;
VAR34:=EMA(VAR33,5);
VAR35:3*VAR33-2*VAR34,COLORYELLOW;
绝买:CROSS(VAR35,VAR33) AND VAR33O,COLORRED;
DRAWTEXT(绝买,0.9,'\绝买\'),COLORRED;
ss1:=(LOW+HIGH+CLOSE*2)/4;
ss2:= MA(ss1,4);
ss3:=HHV(ss2,10);
ss4:=ma(ss3,3);
ss5:=1.25*ss4-0.25*ss3;
xkkj:=if(ss5>ss3,ss3,ss5);
ff1:=LLV(ss2,10);
ff2:=ma(ff1,3);
ff3:=1.25*ff2-0.25*ff1;
dkkj:=if(ff3
N:=8;ZF:=5;M:=3;N10:=9;P1:=3;P2:=3;
MA5 := MA(close,5);
MA10 := MA(close,10);
MA60 := MA(close,60);
pday1 := barslast(cross(ma60,ma5));{5日均线下穿60日均线}
pday2 := barslast(cross(ma60,ma10));{10日均线下穿60日均线,至此形成鸭颈部}
pday3 := barslast(low=llv(low,pday2));{形成头部,要反弹}
pday4 := barslast(cross(ma5,ma10));{反弹后,5日均线和10日均线金叉}
pday5 := barslast(cross(ma10,ma5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}
a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5Var5 AND Var5>Var6 AND Var6>Var7 AND Var7>Var8 AND Var8ref(Var3,1),COLORFF00FF;
DRAWTEXT(老鸭头 ,0.8 , \'老鸭头\'),COLORred;
nA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
nA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;
穿180线:ma(c,180)>ref(ma(c,180),2) and count(cross(ma(c,5),ma(c,180)),6)>=1 and c/ma(c,180)>1.04,COLORblue;
DRAWTEXT(穿180线,0.8 , \'180\'),COLORblue;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:SMA(SMA(VAR32,3,1),3,1)/28.57,COLORMAGENTA;
VAR34:=EMA(VAR33,5);
VAR35:3*VAR33-2*VAR34,COLORYELLOW;
绝买:CROSS(VAR35,VAR33) AND VAR33O,COLORRED;
DRAWTEXT(绝买,0.9,'\绝买\'),COLORRED;
ss1:=(LOW+HIGH+CLOSE*2)/4;
ss2:= MA(ss1,4);
ss3:=HHV(ss2,10);
ss4:=ma(ss3,3);
ss5:=1.25*ss4-0.25*ss3;
xkkj:=if(ss5>ss3,ss3,ss5);
ff1:=LLV(ss2,10);
ff2:=ma(ff1,3);
ff3:=1.25*ff2-0.25*ff1;
dkkj:=if(ff3
▼优质解答
答案和解析
朋友,以下是你要的公式:
N:=8;ZF:=5;M:=3;N10:=9;P1:=3;P2:=3;
MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA60 := MA(CLOSE,60);
PDAY1 := BARSLAST(CROSS(MA60,MA5));{5日均线下穿60日均线}
PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均线下穿60日均线,至此形成鸭颈部}
PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成头部,要反弹}
PDAY4 := BARSLAST(CROSS(MA5,MA10));{反弹后,5日均线和10日均线金叉}
PDAY5 := BARSLAST(CROSS(MA10,MA5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5VAR5 AND VAR5>VAR6 AND VAR6>VAR7 AND VAR7>VAR8 AND VAR8REF(VAR3,1),COLORFF00FF;
DRAWTEXT(老鸭头 ,0.8 ,'老鸭头'),COLORRED;
NA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)REF(MA(C,180),2) AND COUNT(CROSS(MA(C,5),MA(C,180)),6)>=1 AND C/MA(C,180)>1.04,COLORBLUE;
穿180线:MA(C,180)>REF(MA(C,180),2) AND COUNT(CROSS(MA(C,5),MA(C,180)),6)>=1 AND C/MA(C,180)>1.04,COLORBLUE;
DRAWTEXT(穿180线,0.8 ,'180'),COLORBLUE;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:SMA(SMA(VAR32,3,1),3,1)/28.57,COLORMAGENTA;
VAR34:=EMA(VAR33,5);
VAR35:3*VAR33-2*VAR34,COLORYELLOW;
绝买:CROSS(VAR35,VAR33) AND VAR33O,COLORRED;
DRAWTEXT(绝买,0.9,'绝买'),COLORRED;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3
N:=8;ZF:=5;M:=3;N10:=9;P1:=3;P2:=3;
MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA60 := MA(CLOSE,60);
PDAY1 := BARSLAST(CROSS(MA60,MA5));{5日均线下穿60日均线}
PDAY2 := BARSLAST(CROSS(MA60,MA10));{10日均线下穿60日均线,至此形成鸭颈部}
PDAY3 := BARSLAST(LOW=LLV(LOW,PDAY2));{形成头部,要反弹}
PDAY4 := BARSLAST(CROSS(MA5,MA10));{反弹后,5日均线和10日均线金叉}
PDAY5 := BARSLAST(CROSS(MA10,MA5));{反弹不久,5日均线和10日均线形成死叉,形成嘴部}
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5VAR5 AND VAR5>VAR6 AND VAR6>VAR7 AND VAR7>VAR8 AND VAR8REF(VAR3,1),COLORFF00FF;
DRAWTEXT(老鸭头 ,0.8 ,'老鸭头'),COLORRED;
NA1:=MIN(MA(C,5),MA(C,10))>MA(C,60) AND CROSS(MA(C,5),MA(C,10));
NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)REF(MA(C,180),2) AND COUNT(CROSS(MA(C,5),MA(C,180)),6)>=1 AND C/MA(C,180)>1.04,COLORBLUE;
穿180线:MA(C,180)>REF(MA(C,180),2) AND COUNT(CROSS(MA(C,5),MA(C,180)),6)>=1 AND C/MA(C,180)>1.04,COLORBLUE;
DRAWTEXT(穿180线,0.8 ,'180'),COLORBLUE;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:SMA(SMA(VAR32,3,1),3,1)/28.57,COLORMAGENTA;
VAR34:=EMA(VAR33,5);
VAR35:3*VAR33-2*VAR34,COLORYELLOW;
绝买:CROSS(VAR35,VAR33) AND VAR33O,COLORRED;
DRAWTEXT(绝买,0.9,'绝买'),COLORRED;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3
看了 修改公式N:=8;ZF:=5...的网友还看了以下:
读图完成第1~3小题.1.图中本初子午线是()2.图中东西半球分界线的两条经线是()3.最接近海陆 2020-04-23 …
过两点A(-3,2)和B(6,1)的直线与直线x+3y-5=0相交于点P,则点P分AB所成的λ=A 2020-05-13 …
一艘轮船在5月30日11时55分经过180°经线,5分钟后该船到达地的时间应该是?A.5月30日1 2020-05-14 …
图5-2-4为某一热敏电阻(电阻值随温度的改变而改变,且对温度很敏感)的I-U关系曲线图.图5-2 2020-05-14 …
与直线3x-4y+5=0关于x轴对称的直线的方程是()A.3x-4y+5=0B.3x-4y-5=0 2020-06-03 …
如图用1×2的“日字块”共18块,用任何方式完全覆盖6×6的棋盘(1)那么,沿任意一条棋盘线一定能 2020-06-11 …
有没有相同的关系,告诉我5木足通(甲)=2毛竹杆(毛竹筒6)+2毛竹饰件(毛竹筒4)=10毛竹筒5 2020-06-30 …
在方格图中有一个点(3,4),它根据直线(5,X)对称的对应点是(,),如果根据直线(Y,在方格图 2020-07-18 …
已知:抛物线Y=X方-6x+5与直线y=-2x+5相交于点C(0,5)、E(4,-3)抛物线与x轴 2020-07-26 …
12道很难《六年级》得分数计算不怕得来!我有352分先给20分之后+50分《/是分数线》5/2-5/ 2020-10-31 …