1.ç¥å¥ä¹è½¬è¡å
¬å¼
2.通达信神奇九转指标源码?
3.九转序列的神奇式源实质
4.神奇九转指标公式源码
ç¥å¥ä¹è½¬è¡å ¬å¼
1ãA1ï¼=C>REF(C,4)ï¼2ãA2ï¼=C3ãT1ï¼=A2 AND REF(A1,1)ï¼
4ãT2ï¼=A2 AND REF(T1,1)ï¼
5ãT3ï¼=A2 AND REF(T2,1)ï¼
6ãT4ï¼=A2 AND REF(T3,1)ï¼
7ãT5ï¼=A2 AND REF(T4,1)ï¼
8ãT6ï¼=A2 AND REF(T5,1)ï¼
9ãT7ï¼=A2 AND REF(T6,1)ï¼
ãT8ï¼=A2 AND REF(T7,1)ï¼
ãT9ï¼=A2 AND REF(T8,1)ã
å¨è¡ç¥¨å¸åºä¸ï¼æèµè å¯è½ä¼å¬å°ç¥å¥ä¹è½¬çæ¯è¯ãå½ç¥å¥ä¹è½¬åæ 个è¡èµ°å¿ææ è¾¾å°9åºåå·æ¶ï¼å¯ä»¥ç¨ç¥å¥ä¹è½¬æ¥å¤æãå¦æè¡å¸å¨ä¸æ¶¨è¿ç¨ä¸åºç°9åºåå·ï¼æèµè å¯ä»¥éå½åä»ååºææçè¡ç¥¨ãå¦æ个è¡ä»·æ ¼ä¸è·ï¼æ9åºåå·ï¼æèµè å¯ä»¥éå½å ä»ä¹°å ¥ã
ç¥å¥ä¹è½¬ç®ä»
ç¥å¥ä¹è½¬æ¯è¡ç¥¨ä¸å¸¸ç¨çææ ï¼æåæ¯ç±è¡ç¥¨åæå¸å®æçTDæèµé¡ºåºéæ¸è¡çåºæ¥ï¼å 为éæ¯ä¹è½¬å ·æç¬ç¹çç¹æ®ä¼å¿ï¼å¯ä»¥æ ¹æ®è¡ä»·èµ°å¿å¤ææç¹ï¼è¿ä¸æ¥åæè¡ç¥¨è½¬æºä½æ¶å°æ¥ï¼è®©æèµè å好ç¸åºçåå¤ãç¥å¥ä¹è½¬å¯¹ä¸ªè¡æåºé顶çåç¡®å¤æçå¾é«ï¼åºæ¬è¾¾å°%以ä¸ãä¸è¬æ¥è¯´ï¼æèµè çµæ´»è¿ç¨ç¥å¥ä¹è½¬ææ°æ¯é常æç¨çã
通达信神奇九转指标源码?
1. 通达信的神奇九转指标源码可以在指标公式编辑器中直接找到,该公式没有加密,转指指标可以直接查看。码神
2. 买入结构的奇转公式为:B:=CDRAWNUMBER(N=6 AND REFXV(COUNT(B,6),神奇式源5)=6 AND REF(B,转指指标headfirsthtml与css源码1)=0,码神L,奇转1),神奇式源COLORRED;DRAWNUMBER(N=7 AND REFXV(COUNT(B,转指指标7),码神6)=7 AND REF(B,奇转1)=0,神奇式源L,转指指标1),码神COLORRED;DRAWNUMBER(N=8 AND REFXV(COUNT(B,8),7)=8 AND REF(B,1)=0,L,1),COLORRED;DRAWNUMBER(N>=9 AND REFXV(COUNT(B,9),8)=9 AND REF(B,1)=0,L,1),COLORRED;DRAWNUMBER(N=1 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;DRAWNUMBER(N=2 AND REFXV(COUNT(B,2),1)=2 AND COUNT(B,flappybirdc语言源码6)=6 AND REF(B,6)=0,粗告L,6),COLORRED;DRAWNUMBER(N=3 AND REFXV(COUNT(B,3),2)=3 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;DRAWNUMBER(N>=4 AND REFXV(COUNT(B,4),3)=4 AND COUNT(B,6)=6 AND REF(B,6)=0,L,6),COLORRED;DRAWNUMBER(N=1 AND COUNT(B,7)=7 AND REF(B,7)=0,L,7),COLORRED;DRAWNUMBER(N=2 AND REFXV(COUNT(B,3),1)=3 AND COUNT(B,7)=7 AND REF(B,7)=0,L,7),COLORRED;DRAWNUMBER(N>=3 AND REFXV(COUNT(B,3),2)=3 AND COUNT(B,7)=7 AND REF(B,go源码示例7)=0,L,7),COLORRED;DRAWNUMBER(N=2 AND COUNT(B,8)=8 AND REF(B,8)=0,L,8),COLORRED;DRAWNUMBER(N>=2 AND REFXV(COUNT(B,2),1)=2 AND COUNT(B,8)=8 AND REF(B,8)=0,L,8),COLORRED;DRAWNUMBER(N>=1 AND COUNT(B,9)=9 AND REF(B,9)=0,L,9),COLORGREEN;
3. 卖出结构的公式为:S:=C>REF(C,4);DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND REF(S,1)=0,H*1.,1),COLORMAGENTA;DRAWNUMBER(N=7 AND REFXV(COUNT(S,7),6)=7 AND REF(S,1)=0,H*1.,1),COLORMAGENTA;DRAWNUMBER(N=8 AND REFXV(COUNT(S,彩灯遥控源码8),7)=8 AND REF(S,1)=0,H*1.,1),COLORMAGENTA;DRAWNUMBER(N>=9 AND REFXV(COUNT(S,9),8)=9 AND REF(S,1)=0,H*1.,1),COLORMAGENTA;DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.,2),COLORMAGENTA;DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.,2),COLORMAGENTA;DRAWNUMBER(N=7 AND REFXV(COUNT(S,7),6)=7 AND COUNT(S,2)=2 AND REF(S,1)=0,H*1.,2),COLORMAGENTA;DRAWNUMBER(N>=8 AND REFXV(COUNT(S,8),火喷子源码7)=8 AND COUNT(S,敬如2)=2 AND REF(S,2)=0,H*1.,2),COLORMAGENTA;DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.,3),COLORMAGENTA;DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.,3),COLORMAGENTA;DRAWNUMBER(N=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.,3),COLORMAGENTA;DRAWNUMBER(N>=7 AND REFXV(COUNT(S,7),6)=7 AND COUNT(S,3)=3 AND REF(S,3)=0,H*1.,3),COLORMAGENTA;DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.,4),COLORMAGENTA;DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.,4),COLORMAGENTA;DRAWNUMBER(N=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.,4),COLORMAGENTA;DRAWNUMBER(N>=6 AND REFXV(COUNT(S,6),5)=6 AND COUNT(S,4)=4 AND REF(S,4)=0,H*1.,4),COLORMAGENTA;DRAWNUMBER(N=2 AND REFXV(COUNT(S,2),1)=2 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.,5),COLORMAGENTA;DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.,5),COLORMAGENTA;DRAWNUMBER(N=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.,5),COLORMAGENTA;DRAWNUMBER(N>=5 AND REFXV(COUNT(S,5),4)=5 AND COUNT(S,5)=5 AND REF(S,5)=0,H*1.,5),COLORMAGENTA;DRAWNUMBER(N=1 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.,6),COLORMAGENTA;DRAWNUMBER(N=2 AND REFXV(COUNT(S,2),1)=2 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.,6),COLORMAGENTA;DRAWNUMBER(N=3 AND REFXV(COUNT(S,3),2)=3 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.,6),COLORMAGENTA;DRAWNUMBER(N>=4 AND REFXV(COUNT(S,4),3)=4 AND COUNT(S,6)=6 AND REF(S,6)=0,H*1.,6),COLORMAGENT
九转序列的实质
九转序列,亦称神奇九转,由美国学者托马斯·迪马克提出,用于预测趋势的转折点。在美国,这一序列被称为TD序列,以为转折点,但在中国,根据统计学的计算,9转折的成功率最高,因此改进为九转序列。
最初,我对于仅凭一个数字来判断市场走势的方法持怀疑态度,因为没有充分的道理。实际上,单独使用九转序列来判断市场转折点失效的概率很高。然而,既然这个指标被广泛推崇和使用,那么了解其背后的原理是必要的。因此,我们需要从该指标的规则入手,来揭示其背后的秘密。
九转序列的计数规则是:连续出现9根K线,每根K线的收盘价要么高于前4根K线的收盘价(上涨九转),要么低于前4根K线的收盘价(下跌九转),这样计数就成立了。
换句话说,九转之前行情延续的条件有两种:在上涨行情中,今天的收盘价比4天前的收盘价高;在下跌行情中,今天的收盘价比4天前的收盘价低。
看到这里,可能会有人感到熟悉,没错,根据均线的抵扣价原理,九转序列的本质实际上是4日均线的上升或下降。
我们知道,数值较小的均线波动较大。通常,我们将5日均线称为快线或进攻线。现在我们知道了,原来九转序列是比5日线更为激进的攻击型选手。神奇九转适用于股票震荡市或弱市中的震荡市,但在熊市急跌或大牛市中则不适用。要使九转序列更加准确,还需要结合其他指标一起使用。最常用且最有效的方法就是MACD顶底背离。
许多朋友不喜欢系统自带的九转指标中使用了未来函数,但实际上,是否使用未来函数并不重要。九转序列反映的是短期情绪,要知道:“飘风不终朝,骤雨不终日”,物极必反。以下提供一个无未来函数的九转序列主图源码:
B:=C
N:=CURRBARSCOUNT;
B1:=(N=6 AND REFXV(COUNT(B,6),5)=6) OR (N=7 AND REFXV(COUNT(B,7),6)=7) OR (N=8 AND REFXV(COUNT(B,8),7)=8) OR (N>=9 AND REFXV(COUNT(B,9),8)=9);
DRAWNUMBER(B1 AND REF(B,1)=0,L,1),COLORMAGENTA;
B2:=(N=5 AND REFXV(COUNT(B,6),4)=6) OR (N=6 AND REFXV(COUNT(B,7),5)=7) OR (N=7 AND REFXV(COUNT(B,8),6)=8) OR (N>=8 AND REFXV(COUNT(B,9),7)=9);
DRAWNUMBER(B2 AND REF(B,2)=0,L,2),COLORMAGENTA;
B8:=(N=1 AND COUNT(B,8)=8) OR (N>=2 AND REFXV(COUNT(B,9),1)=9);
DRAWNUMBER(B8 AND REF(B,8)=0,L,8),COLORMAGENTA;
B9:=(N>=1 AND COUNT(B,9)=9);
DRAWNUMBER(B9 AND REF(B,9)=0,L,9),COLORBROWN;
S:=C>REF(C,4);
S1:=(N=6 AND REFXV(COUNT(S,6),5)=6) OR (N=7 AND REFXV(COUNT(S,7),6)=7) OR (N=8 AND REFXV(COUNT(S,8),7)=8) OR (N>=9 AND REFXV(COUNT(S,9),8)=9);
DRAWNUMBER(S1 AND REF(S,1)=0,H,1),COLORMAGENTA,DRAWABOVE;
S2:=(N=5 AND REFXV(COUNT(S,6),4)=6) OR (N=6 AND REFXV(COUNT(S,7),5)=7) OR (N=7 AND REFXV(COUNT(S,8),6)=8) OR (N>=8 AND REFXV(COUNT(S,9),7)=9);
DRAWNUMBER(S2 AND REF(S,2)=0,H,2),COLORMAGENTA,DRAWABOVE;
S8:=(N=1 AND COUNT(S,8)=8) OR (N>=2 AND REFXV(COUNT(S,9),1)=9);
DRAWNUMBER(S8 AND REF(S,8)=0,H,8),COLORMAGENTA,DRAWABOVE;
S9:=(N>=1 AND COUNT(S,9)=9);
DRAWNUMBER(S9 AND REF(S,9)=0,H,9),COLORGREEN,DRAWABOVE;
进入市场的第一步是观察市场。想要了解更多指标的用法及指标公式,可关注本人公众号:洞悉市场。
神奇九转指标公式源码
一、神奇九转指标是什么
神奇九转指标主要来自于股票技术分析大师汤姆·迪马克的TD序列,这个指标通俗理解可以是这样的,当一只股票的股价在上涨或者下跌的过程中连续9个交易日达到触发的条件,那么就会生成1、2、3至9的一个数列,形成这个数列后就会开启股价走势的反转,也就是股价的走势会发生变化。
二、神奇九转指标公式源码
A1:=C>REF (C,4); NT:=BARSLASTCOUNT (A1); TJ:=NT=9; TJ:=ISLASTBAR AND BETWEEN (NT,1,8); AY:= (BACKSET (TJ>0,9) OR BACKSET (TJ>0,NT))*NT; DRAWTEXT (AY>0,H*1.,VAR2STR (AY,0)),COLORFFFF; DRAWTEXT (NT=9,H*1.,'9'),COLORGREEN;