股票公式指标网-网站导航


网站搜索:  

公式在线 发表于2009/9/14 18:00:37

李君壮分时系统(主图,通用源码)

因千钧版主再三盛情挽留,只好厚着老脸,继续在论坛混一段日子,等待网友把我哄下台吧。
操盘冠军李君壮主要用他的几个分时均线指标,研判大盘,炒作权证,资金几乎每月都能翻番,令世人惊叹!
    现提供源码(通用)供大家学习。(使用时要选对主图的周期)
李君壮分时系统(主图,通用源码)

 

C/C++ Code复制内容到剪贴板
  1.    {5分钟ma}   
  2. a1:ma(c,12);a2:ma(c,24);a3:ma(c,48),COLORRED;a4:ma(c,144);a5:ma(c,240);a6:ma(c,480);   
  3. dk:=a3;   
  4. STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;   
  5. STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;   
  6. STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred;   
  7. STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred;   
  8. STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;   
  9. STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;   
  10. STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen;   
  11. STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen;   
  12.   
  13. {15分钟ma}   
  14. a1:ma(c,8);a2:ma(c,16),COLORRED;a3:ma(c,48),COLORRED;a4:ma(c,80);a5:ma(c,112);a6:ma(c,160);a7:ma(c,245);a8:ma(c,320);   
  15. dk:=a2;   
  16. STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;   
  17. STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;   
  18. STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred;   
  19. STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred;   
  20. STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;   
  21. STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;   
  22. STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen;   
  23. STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen;   
  24.   
  25. {30分钟ma}   
  26. a1:ma(c,4);a2:ma(c,8),COLORRED;a3:ma(c,24),COLORRED;a4:ma(c,40);a5:ma(c,80);a6:ma(c,160);   
  27. dk:=a2;   
  28. STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;   
  29. STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;   
  30. STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred;   
  31. STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred;   
  32. STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;   
  33. STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;   
  34. STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen;   
  35. STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen;   
  36.   
  37. {60分钟ma}   
  38. a1:ma(c,4);a2:ma(c,12);a3:ma(c,20),COLORRED;a4:ma(c,40);a5:ma(c,80);a6:ma(c,120);a7:ma(c,240);   
  39. dk:=a3;   
  40. STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;   
  41. STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;   
  42. STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred;   
  43. STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred;   
  44. STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;   
  45. STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;   
  46. STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen;   
  47. STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen;   

 



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
股票公式指标网-www.gszx.com.cn-股票指标公式网