准确趋势指标公式源码(最好的指标公式源码)
本文目录一览:
短线高手主力版“买卖趋势”指标公式源码
非常准的趋势买卖(图片演示在下面网址里)
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出LOW AND 卖出HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出MIN(C,O) AND 卖出MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出LOW AND 卖出HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入LOW AND 买入HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
STICKLINE(买入MIN(C,O) AND 买入MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(买入LOW AND 买入HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
绿上卖,红下买。
求通达信顶底趋势指标源码
顶底趋势指标(通达信)
此指标是我精心收藏的指标,无未来函数,真正的好指标。图片演示在下面网址里.
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COLORGREEN;
STICKLINE(趋势50,趋势,50,4,0),COLOR32329B;
STICKLINE(50趋势,趋势,50,4,0),COLOR326400;
IF(趋势50, 趋势,DRAWNULL), COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(KD AND CCI0 AND DIFFDEA AND MACD0,1,0);
STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
STICKLINE(转点=0,50,50,6,0),COLORCYAN;
顶部:90,COLORYELLOW;
底部:10,COLORCYAN;
判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;
IF( 趋势判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;
DRAWICON(CROSS(趋势,判断),判断,1);
DRAWICON(CROSS(趋势,顶部),顶部,2);
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
短线1: IF(VAR645,VAR6-45,0),COLORA6B8C1;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
VR2:=REF(LOW,1);
VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;
VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);
VR5:=LLV(LOW,30);
VR6:=HHV(VR4,30);
VR7:=IF(MA(CLOSE,58),1,0);
VR8:=EMA(IF(LOW=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;
VR9:=IF(VR8100,100,VR8);
主力进场:STICKLINE(VR9-150,0,VR9,3,0), , COLORFF00FF;
洗盘:IF(VR9REF(VR9,1),VR9,0),COLORGREEN,NODRAW;
STICKLINE(VR9REF(VR9,1),0,VR9,3,0),COLORGREEN;
短线获利:STICKLINE(REF("KDJ.J",1)0 AND "KDJ.J"0,60,25,2,0),COLORYELLOW;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;
STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;
STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;
STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:80,COLORFF85FF;
安全区:20,COLORYELLOW,POINTDOT;
天线:100,COLORFFFF00;
强弱线:50,COLORGREEN,POINTDOT;
DRAWICON(BBUY,(LOW *1),1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,15);
DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;
MAV:=(2*C+H+L)/4;
VAR9:=LLV(LOW,34);
VAR7:=HHV(HIGH,34);
SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);
SD: EMA(0.667*REF(SK,1)+0.333*SK,2);
高抛:80, POINTDOT;
低吸:20, POINTDOT;
强弱分界:50, POINTDOT;
DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;
求:东方财富通指标公式:【资金趋势】的源码
东方财富通指标公式【资金趋势】的源码如下:
均价:=(H+L+O+C)/4;
分水岭:MA(3*均价-2*SMA(均价,2,1),12),LINETHICK1;
做多趋势:IF(均价分水岭,均价,分水岭),COLORYELLOW;
支撑:REVERSE(做多趋势)+2*分水岭,COLORMAGENTA;
下跌:IF(均价做空趋势:(3*B-2*SMA(B,10,1)),COLORGREEN,LINETHICK2;
阻力:=REVERSE(下跌)+2*分水岭。
拓展资料:
股票是股份有限公司发行的证明股东所持股份的凭证。这表明股东拥有股份公司部分资本的所有权。由于股票包含经济利益,可以上市、流通和转让,因此股票也是一种证券。中国上市公司的股票在上海证券交易所和深圳证券交易所发行。投资者一般在证券经纪公司开户。
普通股分析指标有MACD、KDJ、RSI等指标,主要用于对股票市场和目标的分析判断。
开盘价:开盘价为投标阶段的第一笔交易价格。如果没有交易,则前一天的收盘价为开盘价。
收盘价:指每天交易的最后一只股票的价格,即收盘价。
最高价格:指当日交易价格中的最高价格。有时候最高的价格只有一个,有时候不止一个。
最低价格:指当日交易价格中的最低价格。有时候最低的价格只有一个,有时候不止一个。
普通股
普通股是指在公司经营管理、利润和财产分配中享有共同权利的股份。代表在满足所有债权偿还要求和优先股股东的收益权和债权后,对企业利润和剩余财产的要求。它构成了公司资本的基础,是股票的基本形式,也是最重要、流通量最大的股票。
在上海和深圳证券交易所交易的股票是普通股。普通股持有人按其股份比例享有下列基本权利:
(1) 公司有权参与决策。普通股股东有权参加股东大会,有权提出建议、投票表决,也可以委托他人代为行使股东权利。
(2) 利润分配权。普通股股东有权从公司利润分配中获得股息。普通股股利不是固定的,这取决于公司的利润状况及其分配政策。普通股股东在有权获得股息分配之前必须获得固定股息。
(3) 股票期权。如果公司需要扩容和增发普通股,现有普通股股东有权按照其持股比例以低于市场价格的特定价格购买一定数量的新发行股份,以保持其对企业原有的所有权比例。
(4) 剩余资产的分配权。公司破产或清算时,如果清偿债务后公司资产仍然存在,剩余部分应按优先股股东和普通股股东的顺序分配。
趋势起爆点指标公式
通用公式源码:
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=EMA(VAR1,8);
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(VAR3,3)-10;TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C1:=SMA(CC1,3,1);C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;CB1:=EMA(C3,5);
CB2:=REF(CB1,1);LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:=(RSI1-50)*5;R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);J1:=3*R1-2*D1;
RR1:=EMA(J1,5);RR2:=REF(RR1,1);
RR:=RR1RR2;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);K1:=(K-50)*5;
K2:=SMA(K1,3,1);D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);
买入:RR AND NOT(REF(RR,1)) AND (RR1-100 AND BB1-100) AND CB1-100
and CROSS(趋势线,VAR2) AND 趋势线REF(趋势线,1) AND 趋势线50;
大智慧波段起爆点公式
1、获利线:EMA(WINNER(C)*100,3),colorwhite;
庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;
散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;
收:=winner(C)*100;
开:=winner(O)*100;
博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;
STICKLINE(庄筹线散筹线,庄筹线,散筹线,0,0),COLOrwhite;
stickline(收=REF(收,1),0,博弈K线长,4,0),colorred;
stickline(收=REF(收,1),0,博弈K线长,4,0),color00ff00;
5,colorwhite,pointdot;
20,coloryellow,pointdot;
40,colorffcc66,pointdot;
60,colorff00ff,pointdot;
cc:FILTER((CROSS(5,庄筹线) and 散筹线20 )*60,10 ),colorff00ff;
DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;
aa:= ref(庄筹线,30)40 or ref(庄筹线,20)40;
aa1:=cross(庄筹线,散筹线);
DRAWTEXT(AA1,70,'鸡雀***'),color00ff00;
bb:=CROSS(28,庄筹线) and 散筹线40 and aa=1 and LLV(l ,60 )LLV(l ,250 );
DRAWTEXT(bb,30,'决战诱空'),colorwhite;
IF(bb,30,60 ),colorffcccc;
2、主筹估算:EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1,colorgreen;
筹码锁定:散筹估算-主筹估算,COLORFFBB00;
stickline(筹码锁定0,筹码锁定,散筹估算,8,0),color009900;
stickline(筹码锁定=0,0,散筹估算,8,0),color009900;
stickline(筹码锁定0,0,筹码锁定,8,0),COLORFFBB00;
stickline(筹码锁定0,0,筹码锁定,8,0),COLORFFBB00;
stickline(筹码锁定-50,-50,筹码锁定,8,0),COLORRED;
动态底部:EMA(IF(L= LLV(l,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3),COLORYELLOW;
stickline(动态底部0,0,动态底部,8,0),COLORYELLOW;
主筹估算,LINETHICK2,COLORRED;
DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,1);
DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,2);
3、散筹估算:EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N),STICK,COLORffeebb;
EMA((WINNER((O+C*2+H+L)/5*1.1)-WINNER((O+C*2+H+L)/5*0.9))*80,N1),COLORffeebb,LINETHICK2;
主筹估算:EMA(WINNER((O+C*2+H+L)/5)*70,M),STICK,COLOR0000ff;
EMA(WINNER((O+C*2+H+L)/5)*70,M1),COLOR0000ff,linethick2;
相对筹码:散筹估算-主筹估算,COLORff9900,linethick2;
动态底部:EMA(IF(L= LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,COLORYELLOW,LINETHICK2;
VAR1:=IF(C=O,H,0);
VAR2:=IF(C=O,REF(H,1),VAR1);
VAR3:=IF(C=O,V,0);
VAR4:=IF(C=O,REF(V,1),VAR3);
VAR5:=COUNT(VAR2REF(VAR2,1) AND VAR4REF(VAR4,1),3)=2 AND CO;
量价背离:VAR5*40,STICK,COLORf5cceb,LINETHICK2;
{N,=10,1,100 M,=10,1,100,N1=10,1,100,M1=10,1,100}