股友量 发表于 2021-12-24 19:39

指标编写问答5 学习的宝藏

21.问:
   求助——(周,日,60分钟,30分钟)MACD同时向上的公式怎么表达
   答(知无不言):
   z:="macd.dea#week";
   r:="macd.dea#day";
   f:"macd.dea#min60";
   f1:="macd.dea#min30";
   rz:="macd.dea##week";
   rr:="macd.dea##day";
   rf:"macd.dea##min60";;
   rf1:="macd.dea##min30";
   z>rz and r>rr and f>rf and f1>rf1;


22.问:
   求助飞狐通不过
   Var1:=(CLOSE+LOW+HIGH)/3;
   Var2:=SUM(((Var1-REF(LOW,1))-(HIGH-Var1))*VOL/100000/(HIGH-LOW),0);
   Var3:=EMA(Var2,1);
   JCS:=Var3;
   JCM:=MA(Var3,12);
   JCL:=MA(Var3,26);
   zljr:=(jcs-jcm)*60;
   主力拉升:if(zljr>0.05,zljr,0),COLORred,linethick2;
   jx1:=(JCM-JCL)*30;
   均线:if(jx1>0.05,jx1,0),COLORyellow,linethick2;
   Var34:=CAPITAL/EMA(VOL,5)/30*1.1;
   套牢线:var34,colorgreen,linethick2;
   gz:=if(CROSS(zljr ,var34) ,50,0);
   关注:FILTER(gz,7),colorwhite,linethick2;
   DRAWICON(关注=50,0,1);
   Var81:=EMA(HHV(HIGH,500),21);
   Var82:=EMA(HHV(HIGH,250),21);
   Var83:=EMA(HHV(HIGH,90),21);
   Var84:=EMA(LLV(LOW,500),21);
   Var85:=EMA(LLV(LOW,250),21);
   Var86:=EMA(LLV(LOW,90),21);
   Var87:=EMA               
((Var84*0.96+Var85*0.96+Var86*0.96+Var81*0.558+Var82*0.558+Var83*0.558)/6,21);
   Var88:=EMA((Var84*1.25+Var85*1.23+Var86*1.2+Var81*0.55+Var82*0.55+Var83*0.65)/6,21);
   Var89:=EMA((Var84*1.3+Var85*1.3+Var86*1.3+Var81*0.68+Var82*0.68+Var83*0.68)/6,21);
   Var8A:=EMA((Var87*3+Var88*2+Var89)/6*1.738,21);
   Var8B:=REF(LOW,1);
   Var8C:=SMA(ABS(LOW-Var8B),3,1)/SMA(MAX(LOW-Var8B,0),3,1)*100;
   Var8D:=EMA(IF(CLOSE*1.35<=Var8A,Var8C*10,Var8C/10),3);
   Var8E:=LLV(LOW,30);
   Var8F:=HHV(Var8D,30);
   Var810:=IF(MA(CLOSE,58),1,0);
   ck:= EMA(IF(LOW<=Var8E,(Var8D+Var8F*2)/2,0),3)/618*Var810;
   底部:=if(ck>50,50,ck),COLORMAGENTA;
   底部吸筹: STICKLINE(底部>0,0,底部,4,1),COLORMAGENTA; 
答():
   有空格没处理好.


23.问:
   好公式!!!求助!
   a:=MA(WINNER(CLOSE),9)*100;
   b:=CROSS(a,1.8);
   d:=b>0;
   DRAWICON(d,LOW,1);
   DRAWTEXT(d,LOw,'底 ')coloryellow;
   LC:=REF(CLOSE,1);
   RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
   e:=CROSS(83,RSI);
   DRAWICON(e,high,2);
   DRAWTEXT(e,HIGH,'顶') COLORff9966;
   请将此公式做成选股公式
答(zjz001424 ):
   a:=MA(WINNER(CLOSE),9)*100;
   b:=CROSS(a,1.8);
    底:b>0;
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;


24.问:
    FXJ常用指标设定好后用何健翻指标?
   答(vkioli2 ):
    按小键盘的〖/〗or〖*〗


25.问:
    想求在飞狐中: 收盘价小于 20日均线十五个点(无限小于 20日均线好了,就是说二十个点也可 以)的表达方式?就编成选股公式
   答(下岗老人):
    C<(MA(C,20)-15);

锦绣人生 发表于 2021-12-24 21:08

谢谢楼主的分享!

小牛快跑 发表于 2021-12-24 23:41


谢谢楼主分享!
页: [1]
查看完整版本: 指标编写问答5 学习的宝藏