用数据说话用比较看趋势才能心明手快(副图,源码,附图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-02-20 08:35:00
公式简介:
在股市有三种手法,【A】消息派经常根据各种渠道的消息决定买卖,【B】基本面派依据公司的发展前景,市盈率,市净率,价值决定买卖,【C】技术面派经常依据技术分析决定买卖,来到公式交流区的多半是技术派靠技术分析决定买卖,可你要知道技术分析就是股票的历史,而历史永远不会重复,这就是技术派经常失败的原因,理想是A,B,C兼雇,可我们小散没人能能做到,不是吗?
技术分析也分三类【1】看图--重点是K线,【2】看线--各种趋势线,【3】看数据--这种类型的公式不多,
我现在就想在【3】上做文章,摆了一大堆数据希望从数据中理出点名堂,用数据说话用比较看趋势,决定买卖,
第一:看今天的数据,所在的位置超卖还是超买,还是在安全区,
第二;就是超卖,超买,不一定要买卖,还要看趋势,还要比较前天,昨天,今天的趋势.
第三;数据之间,往往矛盾,你就按数据服从趋势来决定,取舍,
我的意思就趋势就是股价的发展方向,决定你买卖,很多时候看数据比看图,看线,要精确,这就是我要摆了一大堆数据的原因,还是举个例子,比如今天的收盘价大于BOLL的上轨是超卖区,但你不一定卖还要看近三天趋势【一直向上---涨势】【一直向下---跌势】【由上而下--转势】最后以BOLL的上轨为止盈点,虽然你没卖到最高点,比做过山车好多了,
话又说回来只看数据也太片面了,它仅是手段只之一而已,【不可忽视数据】但我没说只看数据就决定一切,配合数据你可以找到精确的买卖点,这就是这个公式的所要达到的目的;
请看源码如下:----
{不同周期}
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;
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;
[url=http://www.goodgupiao.com/gupiaogongshi/17917.html][B]用数据说话用比较看趋势才能心明手快(副图,源码,附图)[/B][/url]