当前位置:首页 > 分析家公式 > 内容

神獒无敌

作者:公式在线   更新时间:2009-09-03   点击:

 

C/C++ Code复制内容到剪贴板
  1. input:n(3,1,300,1),m(3,1,300,1);   
  2. 趋势线:SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-   
  3. (13),LINETHICK2,COLORF0F000;   
  4. 判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);   
  5. 强势区:判断>趋势线,COLOR9800FF;   
  6. STICKLINE(强势区,30,40,4,2),COLOR9800FF;   
  7. 弱势区:判断<趋势线,COLORYELLOW;   
  8. STICKLINE(弱势区,30,40,4,2),COLORYELLOW;   
  9. STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND    
  10. 判断<25 ,趋势线,趋势线+10,9,1),COLORRED;   
  11. STICKLINE(FILTER(判断<REF(判断,1)AND 判断>65,5),趋势线+5,趋势线+15,9,1),   
  12. COLOR00FF00;   
  13. DRAWICON(FILTER(趋势线>=REF(趋势线,1)AND 趋势线<0,15),0,1);   
  14. VAR2:=1;   
  15. VAR3:=REF(HIGH,1)*1.1;   
  16. VAR4:=HIGH*1.1;   
  17. VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;   
  18. VAR6:=REF(LOW,1)*0.9;   
  19. VAR7:=LOW*0.9;   
  20. VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;   
  21. VAR9:=EMA(VAR8,30);   
  22. VARA:=EMA(VAR5,30);   
  23. VARB:=VARA-2;   
  24. VARC:=IF(CLOSE<=VAR9,VARB,VARA);   
  25. VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;   
  26. 出手: STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-   
  27. REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,   
  28. MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/   
  29. REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),50,0,5,0),COLORCC9966;   
  30. 赢: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-   
  31. REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,   
  32. MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/   
  33. REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),55,'买入'),COLORRED;   
  34. VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;   
  35. {www.gszb.com卖出线: SMA(SMA(VARE,3,1),3,1),COLORFF6633;}   
  36. 卖出线: SMA(SMA(VARE,3,1),3,1),COLORgreen;   
  37.   
  38. 买入线: 3*SMA(VARE,3,1)-2*卖出线,COLORmagenta;   
  39. {www.gszb.comDRAWICON(CROSS(90,买入线),90,2);}   
  40. 黄金点: STICKLINE(SMA(VARE,3,1)>卖出线,SMA(VARE,3,1),卖出线,4,0),COLOR1133FF;   
  41. {www.gszb.comDRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));}   
  42. {www.gszb.comDRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;};    

 

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web