用数据说话指标 (源码)
大智慧用数据说话指标公式股票软件源码如下:
DRAWTEXTABS(0,0,' 各项指标: 前天 昨天 今天 60分钟 30分钟 WEEK周 '),Color00FFFF,LINETHICK4;
DRAWTEXTABS(0,20,'▓KDJ.D9【20--80】'),Color00FFFF,LINETHICK3;
DRAWTEXTABS(200,20,'★: '+NUMTOSTRN(ref("KD.D#DAY"(9,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,20,'★: '+NUMTOSTRN(ref("KD.D#DAY"(9,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,20,'▲: '+NUMTOSTRN("KD.D#DAY"(9,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,20,'★: '+NUMTOSTRN("KD.D#MIN60"(9,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,20,'★: '+NUMTOSTRN("KD.D#MIN30"(9,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,20,'◆: '+NUMTOSTRN("KD.D#WEEK"(9,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,40,'★D13: 【20--80】'),Color0000FF,LINETHICK3;
DRAWTEXTABS(200,40,'★: '+NUMTOSTRN(ref("KD.D#DAY"(13,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,40,'★: '+NUMTOSTRN(ref("KD.D#DAY"(13,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,40,'▲: '+NUMTOSTRN("KD.D#DAY"(13,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,40,'★: '+NUMTOSTRN("KD.D#MIN60"(13,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,40,'★: '+NUMTOSTRN("KD.D#MIN30"(13,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,40,'◆: '+NUMTOSTRN("KD.D#WEEK"(13,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,40,'★D13: 【20--80】'),Color0000FF,LINETHICK3;
DRAWTEXTABS(200,40,'★: '+NUMTOSTRN(ref("KD.D#DAY"(13,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,40,'★: '+NUMTOSTRN(ref("KD.D#DAY"(13,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,40,'▲: '+NUMTOSTRN("KD.D#DAY"(13,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,40,'★: '+NUMTOSTRN("KD.D#MIN60"(13,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,40,'★: '+NUMTOSTRN("KD.D#MIN30"(13,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,40,'◆: '+NUMTOSTRN("KD.D#WEEK"(13,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,60,'★D27: 【20--80】'),Color0000FF,LINETHICK3;
DRAWTEXTABS(200,60,'★: '+NUMTOSTRN(ref("KD.D#DAY"(27,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,60,'★: '+NUMTOSTRN(ref("KD.D#DAY"(27,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,60,'▲: '+NUMTOSTRN("KD.D#DAY"(27,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,60,'★: '+NUMTOSTRN("KD.D#MIN60"(27,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,60,'★: '+NUMTOSTRN("KD.D#MIN30"(27,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,60,'◆: '+NUMTOSTRN("KD.D#WEEK"(27,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,80,'★D43: 【20--80】'),Color0000FF,LINETHICK3;
DRAWTEXTABS(200,80,'★: '+NUMTOSTRN(ref("KD.D#DAY"(43,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,80,'★: '+NUMTOSTRN(ref("KD.D#DAY"(43,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,80,'▲: '+NUMTOSTRN("KD.D#DAY"(43,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,80,'★: '+NUMTOSTRN("KD.D#MIN60"(43,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,80,'★: '+NUMTOSTRN("KD.D#MIN30"(43,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,80,'◆: '+NUMTOSTRN("KD.D#WEEK"(43,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,100,'★D55: 【20--80】'),Color0000FF,LINETHICK3;
DRAWTEXTABS(200,100,'★: '+NUMTOSTRN(ref("KD.D#DAY"(55,3,3),2),1)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,100,'★: '+NUMTOSTRN(ref("KD.D#DAY"(55,3,3),1),1)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,100,'▲: '+NUMTOSTRN("KD.D#DAY"(55,3,3),1)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,100,'★: '+NUMTOSTRN("KD.D#MIN60"(55,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(600,100,'★: '+NUMTOSTRN("KD.D#MIN30"(55,3,3),1)+''),Color0000FF,LINETHICK3;
DRAWTEXTABS(700,100,'◆: '+NUMTOSTRN("KD.D#WEEK"(55,3,3),1)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,120,'▓BOLL: 【上轨】'),Color00FF77,LINETHICK3;
DRAWTEXTABS(200,120,'★:'+NUMTOSTRN(ref("BOLL.UPPER#DAY",2),2)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,120,'★:'+NUMTOSTRN(ref("BOLL.UPPER#DAY",1),2)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,120,'▲:'+NUMTOSTRN("BOLL.UPPER#DAY",2)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,120,'★:'+NUMTOSTRN("BOLL.UPPER#MIN60",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,120,'★:'+NUMTOSTRN("BOLL.UPPER#MIN30",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,120,'◆: '+NUMTOSTRN("BOLL.UPPER#WEEK",2)+'元'),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,140,'★MA5: 【C='+C+'元】'),Color00FFFF,LINETHICK3;
DRAWTEXTABS(200,140,'★:'+NUMTOSTRN(ref("MA.MA1#DAY",2),2)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,140,'★:'+NUMTOSTRN(ref("MA.MA1#DAY",1),2)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,140,'▲:'+NUMTOSTRN("MA.MA1#DAY",2)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,140,'★:'+NUMTOSTRN("MA.MA1#MIN60",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,140,'★:'+NUMTOSTRN("MA.MA1#MIN30",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,140,'◆: '+NUMTOSTRN("MA.MA1#WEEK",2)+'元'),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,160,'★MA10: '),Color00FFFF,LINETHICK3;
DRAWTEXTABS(200,160,'★:'+NUMTOSTRN(ref("MA.MA2#DAY",2),2)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,160,'★:'+NUMTOSTRN(ref("MA.MA2#DAY",1),2)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,160,'▲:'+NUMTOSTRN("MA.MA2#DAY",2)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,160,'★:'+NUMTOSTRN("MA.MA2#MIN60",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,160,'★:'+NUMTOSTRN("MA.MA2#MIN30",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,160,'◆: '+NUMTOSTRN("MA.MA2#WEEK",2)+'元'),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,180,'★MA20: '),Color00FFFF,LINETHICK3;
DRAWTEXTABS(200,180,'★:'+NUMTOSTRN(ref("MA.MA3#DAY",2),2)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,180,'★:'+NUMTOSTRN(ref("MA.MA3#DAY",1),2)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,180,'▲:'+NUMTOSTRN("MA.MA3#DAY",2)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,180,'★:'+NUMTOSTRN("MA.MA3#MIN60",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,180,'★:'+NUMTOSTRN("MA.MA3#MIN30",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,180,'◆: '+NUMTOSTRN("MA.MA3#WEEK",2)+'元'),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,200,'▓MACD: 【<0,>0】'),Color00FF55,LINETHICK3;
DRAWTEXTABS(200,200,'★: '+NUMTOSTRN(ref("MACD.MACD#DAY",2),2)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,200,'★: '+NUMTOSTRN(ref("MACD.MACD#DAY",1),2)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,200,'▲: '+NUMTOSTRN("MACD.MACD#DAY",2)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,200,'★: '+NUMTOSTRN("MACD.MACD#MIN60",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,200,'★: '+NUMTOSTRN("MACD.MACD#MIN30",2)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,200,'◆: '+NUMTOSTRN("MACD.MACD#WEEK",2)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,220,'★CCI:【<-100,>100】'),Color00FF33,LINETHICK3;
DRAWTEXTABS(200,220,'★: '+NUMTOSTRN(ref("CCI#DAY",2),0)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,220,'★: '+NUMTOSTRN(ref("CCI#DAY",1),0)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,220,'▲: '+NUMTOSTRN("CCI#DAY",0)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,220,'★: '+NUMTOSTRN("CCI#MIN60",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,220,'★: '+NUMTOSTRN("CCI#MIN30",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,220,'◆: '+NUMTOSTRN("CCI#WEEK",0)+''),Color0598FF,LINETHICK3;
{www.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
DRAWTEXTABS(0,240,'▓RSI:【<15买,>85卖】'),Color00FF11,LINETHICK3;
DRAWTEXTABS(200,240,'★: '+NUMTOSTRN(ref("RSI.RSI1#DAY",2),0)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,240,'★: '+NUMTOSTRN(ref("RSI.RSI1#DAY",1),0)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,240,'▲: '+NUMTOSTRN("RSI.RSI1#DAY",0)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,240,'★: '+NUMTOSTRN("RSI.RSI1#MIN60",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,240,'★: '+NUMTOSTRN("RSI.RSI1#MIN30",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,240,'◆: '+NUMTOSTRN("RSI.RSI1#WEEK",0)+''),Color0598FF,LINETHICK3;
DRAWTEXTABS(0,260,'▓W&R:【>80低,<20顶】'),Color99FF00,LINETHICK3;
DRAWTEXTABS(200,260,'★: '+NUMTOSTRN(ref("W&R.WR1#DAY",2),0)+''),Color00FFFF,LINETHICK3;
DRAWTEXTABS(300,260,'★: '+NUMTOSTRN(ref("W&R.WR1#DAY",1),0)+''),Color0088FF,LINETHICK3;
DRAWTEXTABS(400,260,'▲: '+NUMTOSTRN("W&R.WR1#DAY",0)+''),Color00FF00,LINETHICK3;
DRAWTEXTABS(500,260,'★: '+NUMTOSTRN("W&R.WR1#MIN60",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(600,260,'★: '+NUMTOSTRN("W&R.WR1#MIN30",0)+''),Color0000EE,LINETHICK3;
DRAWTEXTABS(700,260,'◆: '+NUMTOSTRN("W&R.WR1#WEEK",0)+''),Color0598FF,LINETHICK3;
- 上一篇公式:螺旋线指标 (源码)
- 下一篇公式:多头粘合庄股指标 (源码)