: | : | :期货量化学习 | :期货量化 |
返回列表 发帖

[转载]新宝塔线指标源码

[转载]新宝塔线指标源码

新宝塔线指标

     所谓右侧交易者是指等趋势.图形和价格变动以后才操作的人,右侧交易者从不预测后面会怎么样,只做现在该做的事。不受周边环境的影响,客观理智的跟随走势而行动。新宝塔线的特性就是很适合右侧交易者的工具。
      对技术指标,大家要有理性的认识.因为它们大多是以价格或量为基础而编写的.这就决定了它的滞后性和可改变的随意性.既不是万能的,也不会有100%准确率.但是,做为市场弱势群体的小散,指标却又是偶们唯一能简单上手的武器,那怕就是根木棍也比赤手空拳好些吧!
      对于偶来说,偶认为指标的最大定义是:能用简单的方法找到股票上涨或下跌的共同性。如:“股票上涨或下跌,必会上穿或跌破5日均线。”虽说有了共性也不见的就会走出一样的走势。可是这毕竟增大了操作的概率的胜率。当配合基本的量能和K线上的共性后,胜率不是就大的多了吗?有些朋友进入股市,喜欢研究各式各样的指标公式。到最后却因为掌握了太多的武器,事到临头反而不知道使用那种武器好了,所以会千种不如精一门。
      好的指标公式只要有两个功能就可运用于实战,配合量能,K线,加上一些资金的管理运用,你就可以在股市多赚少亏。
     第一个功能是能确定股票现行的方向。
     第二个功能是可以轻松的找到买卖点。
      而新宝塔线就具备这样的两大功能。
     方向:价在多空线上,多空线紫色该股现在正处于上行趋势,入场操作。
             价在多空线下,多空线蓝色该股现在正处于下跌趋势,场外观望。
     买卖点:三平底买进,三平顶卖出。黄托底买进,绿压顶卖出。配合XMA线 使用。

宝塔线分析要点;

(1)宝塔线翻红之后,股价后市总要延伸一段上升行情。  

(2)宝塔线翻青之后,股价后市总要延伸一段下降行情。  

(3)盘局时宝塔线的小翻红,小翻青,可依设定损失点或利润点之大小而决定是否进出。  

(4)盘局或高档时宝塔线长青而下,应即获利了结,将手中持股卖出;反之,翻红而上,则是介入时机。(5)宝塔线翻青下跌一段后突然翻红,须防范为假突破之现象,不可马上抢进,须察3天。

【均K线组合规则】★宝塔线红色且5天均线上行,看多做多(可追多,不惜帮庄家抬轿)

★宝塔线红色但5天均线走平或下行,看多不做多(有筹码的继续与狼共舞,没筹码的观望不进)

★宝塔线绿色且5天均线下行,看空做空(对准接盘杀跌,不计盈亏)

★宝塔线绿色但5天均线走平或上行,看空不做空(没筹码的观望不进,有筹码的即使套牢也暂不割肉)。这样操盘心态极佳。

【宝塔线指标用法】黄托底买进。绿压顶卖出。

宝塔线1
  1. MA:ma(c,5),COLORWHITE;
  2. x:=(3*c+l+o+h)/6;
  3. 多空线:(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)
  4. +13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)
  5. +7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+
  6. ref(x,20))/210,colorff00ff,linethick1;

  7. STICKLINE(REF(多空线,1)<多空线,多空线,REF(多空线,1),3,1),COLORRED;

  8. STICKLINE(REF(多空线,1)>多空线,多空线,REF(多空线,1),3,1),COLORCYAN;
  9. {用法:黄托底买进,绿压顶买出。}
  10. var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
  11. var2:=REF(var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  12. var3:=REF(var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  13. var4:=REF(var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  14. var5:=REF(var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  15. var6:=REF(var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  16. var7:=REF(var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  17. var8:=REF(var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  18. var9:=REF(var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  19. varA:=REF(var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  20. varB:=REF(varA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  21. varC:=REF(varB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  22. STICKLINE(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
  23. var8 OR var9 OR varA OR varB OR varC,CLOSE,REF(CLOSE,1),4,1),COLORRED;{红1}
  24. varD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
  25. varE:=REF(varD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  26. varF:=REF(varE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  27. var10:=REF(varF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  28. var11:=REF(var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  29. var12:=REF(var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  30. var13:=REF(var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  31. var14:=REF(var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  32. var15:=REF(var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  33. var16:=REF(var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  34. var17:=REF(var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  35. var18:=REF(var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  36. STICKLINE(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
  37. var14 OR var15 OR var16 OR var17 OR var18,CLOSE,REF(CLOSE,1),4,0),COLORFFCC66;
  38. var19:=REF(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
  39. var14 OR var15 OR var16 OR var17 OR var18,1) AND var1;
  40. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;
  41. var1A:=REF(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
  42. var8 OR var9 OR varA OR varB OR varC,1) AND varD;
  43. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,2),Color00ff00{98FD};

  44. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),5,0),COLOR00ffff;
  45. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR00c8ff;
  46. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ecff;
  47. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR10ffff;
  48. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10f0ff;

  49. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),5,0),COLOR00d900;
  50. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR93ffd1;
  51. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR93ff22;
  52. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR24ff22;
  53. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090ff2;
复制代码


宝塔线指标2
  1. var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
  2. var2:=REF(var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  3. var3:=REF(var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  4. var4:=REF(var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  5. var5:=REF(var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  6. var6:=REF(var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  7. var7:=REF(var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  8. var8:=REF(var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  9. var9:=REF(var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  10. varA:=REF(var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  11. varB:=REF(varA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  12. varC:=REF(varB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  13. STICKLINE(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
  14. var8 OR var9 OR varA OR varB OR varC,CLOSE,REF(CLOSE,1),6,1),COLORRED;{红1}
  15. varD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
  16. varE:=REF(varD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  17. varF:=REF(varE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  18. var10:=REF(varF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  19. var11:=REF(var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  20. var12:=REF(var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  21. var13:=REF(var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  22. var14:=REF(var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  23. var15:=REF(var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  24. var16:=REF(var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  25. var17:=REF(var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
  26. var18:=REF(var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
  27. STICKLINE(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
  28. var14 OR var15 OR var16 OR var17 OR var18,CLOSE,REF(CLOSE,1),6,0),COLOR00d900{FFCC66};
  29. var19:=REF(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
  30. var14 OR var15 OR var16 OR var17 OR var18,1) AND var1;
  31. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,1),COLORYELLOW;
  32. var1A:=REF(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
  33. var8 OR var9 OR varA OR varB OR varC,1) AND varD;
  34. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,2),Color00ff00{98FD};

  35. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00ffff;
  36. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00c8ff;
  37. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ecff;
  38. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ffff;
  39. STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10f0ff;

  40. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLORff50ff{00d900};
  41. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLORff50ff{93ffd1};
  42. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORff50ff{93ff22};
  43. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORff50ff{24ff22};
  44. STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLORff50ff{090ff2};
  45. 红色持股:0,COLORRED,LINETHICK0,PRECIS0;
  46. 晶红卖出:var1A,COLORFF50FF,LINETHICK0,PRECIS0;
  47. 绿色持币:0,COLOR00d900,LINETHICK0,PRECIS0;
  48. 黄色买入:var19,COLOR00ffff,LINETHICK0,PRECIS0;
复制代码

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   1.本站发布源码(包括函数、指标、策略等)均属开放源码,用意在于让使用者学习程序化语法撰写,使用者可以任意修改语法內容并调整参数。仅限用于个人学习使用,请勿转载、滥用,严禁私自连接实盘账户交易
  2.本站发布资讯(包括文章、视频、历史记录、教材、评论、资讯、交易方案等)均系转载自网络主流媒体,内容仅为作者当日个人观点,本网转载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。本网不对该类信息或数据做任何保证。不对您构成任何投资建议,不能依靠信息而取代自身独立判断,不对因使用本篇文章所诉信息或观点等导致的损失承担任何责任。
  3.本站发布资源(包括书籍、杂志、文档、软件等)均从互联网搜索而来,仅供个人免费交流学习,不可用作商业用途,本站不对显示的内容承担任何责任。请在下载后24小时内删除。如果喜欢,请购买正版,谢谢合作!
  4.龙听期货论坛原创文章属本网版权作品,转载须注明来源“龙听期货论坛”,违者本网将保留追究其相关法律责任的权力。本论坛除发布原创文章外,亦致力于优秀财经文章的交流分享,部分文章推送时若未能及时与原作者取得联系并涉及版权问题时,请及时联系删除。联系方式:http://www.qhlt.cn/thread-262-1-1.html
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

宝塔线指标3
  1. XMA:ma(c,5),COLORWHITE;
  2. DD5:=XMA<REF(XMA,1);
  3. PARTLINE(XMA,DD5),color00FF00;
  4. x:=(3*c+l+o+h)/6;
  5. 多空线:(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)
  6. +13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)
  7. +7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+
  8. ref(x,20))/210,colorff00ff,linethick1;

  9. 三平底买入:var19,COLOR00ffff,LINETHICK0,PRECIS0;
  10. 三平顶卖出:var1A,COLORFF50FF,LINETHICK0,PRECIS0;
  11. {DRAWICON(var19=1 ,REF(CLOSE,1) ,7 );
  12. DRAWICON(var1A=1 ,REF(CLOSE,1) ,8 );}

  13. {用法:黄托底买进,绿压顶买出。}
  14. DD:=多空线<REF(多空线,1);
  15. PARTLINE(多空线,DD),colorblue,linethick3;
  16. A:=(XMA>多空线);
  17. PARTLINE(多空线,A),COLORYELLOW,POINTDOT;
  18. A1:=(XMA<多空线);
  19. PARTLINE(多空线,A1),COLORWHITE;

  20. v1:=CLOSE*VOL;
  21. v2:=EMA(v1,13)/EMA(VOL,13);
  22. CYS:=(EMA((CLOSE-v2)/v2,1)*100);
  23. AA:=CYS;
  24. MIDD:=MA(CYS,20);
  25. CC:=MIDD+0.85*STD(CYS,10);
  26. tM6:=AA>CC;
  27. PARTLINE(XMA,tM6),colorred,linethick2;
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

宝塔线3
  1. 收盘价格:C,POINTDOT;
  2. ma5:ma(c,5);
  3. ma10:ma(c,10);
  4. ma20:ma(c,20);
  5. ma40:ma(c,40);
  6. ma60:ma(c,60);
  7. ma120:ma(c,120);
  8. B0:=REF(C-O,2);B1:=REF(C,1);B2:=REF(C,2);B3:=REF(C,3);B4:=REF(C,4);
  9. CMAX:=MAX(MAX(MAX(C,B1),B2),B3);CMIN:=MIN(MIN(MIN(C,B1),B2),B3);
  10. STICKLINE(C=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN)
  11. AND C>=B2 OR
  12. B2=CMAX AND B3=CMIN AND C>=B1 OR B3=CMAX AND C>=B1 AND C>=B2,B1,C,5,1),COLORRED;
  13. STICKLINE(C=CMAX AND B1=CMIN,B2,C,5,1),COLORRED;
  14. STICKLINE(C=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND C<B2 OR
  15. B2=CMIN AND B3=CMAX AND C<B1 OR B3=CMIN AND C<B1 AND C<B2,B1,C,5,0),COLORGREEN;
  16. STICKLINE(B1=CMAX AND C=CMIN,B2,C,5,0),COLORGREEN;
  17. STICKLINE(B1=CMIN AND C>=B2 OR (B2=CMIN AND B1<=B3 OR
  18. B3=CMIN AND B1<=B2) AND B2<B4 AND C>=B1,B1,B2,5,0),COLORGREEN;
  19. STICKLINE(B1=CMAX AND C<B2 OR (B2=CMAX AND B1>B3 OR
  20. B3=CMAX AND B1>B2) AND B2>=B4 AND C<B1,B1,B2,5,1),COLORRED;
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

宝塔线(精)4
  1. B1:=REF(CLOSE,1);B2:=REF(CLOSE,2);B3:=REF(CLOSE,3);B4:=REF(CLOSE,4);

  2. CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);

  3. STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 OR

  4. B2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,8,0),COLOR000099;

  5. STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 OR

  6. B2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,5,0),COLOR0000BB;

  7. STICKLINE(CLOSE=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSE>=B2 OR

  8. B2=CMAX AND B3=CMIN AND CLOSE>=B1 OR B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2,B1,CLOSE,3,0),COLOR0000FF;

  9. STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,8,0),COLOR000099;

  10. STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,5,0),COLOR0000BB;

  11. STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,3,0),COLOR0000FF;

  12. STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 OR

  13. B2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,8,0),COLOR009900;

  14. STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 OR

  15. B2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,5,0),COLOR00BB00;

  16. STICKLINE(CLOSE=CMIN AND (B1<B2 OR B1<B3) OR B1=CMIN AND (B2=CMAX OR B3=CMAX) AND CLOSE<B2 OR

  17. B2=CMIN AND B3=CMAX AND CLOSE<B1 OR B3=CMIN AND CLOSE<B1 AND CLOSE<B2,B1,CLOSE,3,0),COLOR00FF00;

  18. STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,8,0),COLOR009900;

  19. STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,5,0),COLOR00BB00;

  20. STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,3,0),COLOR00FF00;

  21. STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 OR

  22. B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,8,0),COLORFF9900;

  23. STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 OR

  24. B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,5,0),COLORFFBB00;

  25. STICKLINE(B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 OR

  26. B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1,B1,B2,3,0),COLORFFFF00;

  27. STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 OR

  28. B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,8,0),COLOR000099;

  29. STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 OR

  30. B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,5,0),COLOR0000BB;

  31. STICKLINE(B1=CMAX AND CLOSE<B2 OR (B2=CMAX AND B1>B3 OR

  32. B3=CMAX AND B1>B2) AND B2>=B4 AND CLOSE<B1,B1,B2,3,0),COLOR0000FF;
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

宝塔线5
  1. B1:=REF(CLOSE,1);
  2. B2:=REF(CLOSE,2);
  3. SS:=IF(CLOSE>REF(CLOSE,1)&&REF(CLOSE,1)>=REF(CLOSE,2),1,IF(CLOSE<REF(CLOSE,1)&&REF(CLOSE,1)<=REF(CLOSE,2),-1,IF(CLOSE>REF(CLOSE,2)&&REF(CLOSE,2)>REF(CLOSE,1),2,IF(CLOSE<REF(CLOSE,2)&&REF(CLOSE,2)<REF(CLOSE,1),-2,0))));
  4. SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));
  5. MC:IF(REF(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORBLUE;
  6. STICKLINE(SS=1||(SM>=1&&SS=0),B1,CLOSE,COLORRED,1);
  7. STICKLINE(SS=-1||(SM<=-1&&SS=0),B1,CLOSE,COLORCYAN,0);
  8. STICKLINE(SS=2,B2,CLOSE,COLORRED,1);
  9. STICKLINE(SS=-2,B2,CLOSE,COLORCYAN,0);
  10. STICKLINE((SS=-1||SS=-2)&&SM>0,B2,B1,COLORRED,1);
  11. STICKLINE((SS=1||SS=2)&&SM<0,B2,B1,COLORCYAN,0);
复制代码
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

TOP

返回列表