❶ 通達信最強三色戰法指標公式有哪些
通達信最強三色戰法指標公式
主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趨勢線>REF(主趨勢線,1);
IF(B-1,主趨勢線,DRAWNULL)COLORBLUE,LINETHICK3;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE
STICKLINE(AA,O,C,3,1),COLORRED;
STICKLINE(AA AND DD,O,C,3,0),COLORRED;
STICKLINE(BB,H,L,0,0),COLORGREEN;
STICKLINE(BB,O,C,3,1),COLORGREEN;
STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE(BB AND CC,H,L,0,1),COLORWHITE;
STICKLINE(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE(AA AND CC1,H,L,0,0),COLORWHITE;
STICKLINE(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
AAA:=CONST(HHV(C,90));
DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '紅色K線做多,綠色K線做空,白色K線觀望。 '),COLORYELLOW;
拓展資料
影響通信網路安全性的主要因素 一般說來,通信網路的安全應包括可靠性、可用性、保密性、完整性和不可抵賴性五個方面的內容。
1)可靠性。可靠性是指在人為或自然破壞的作用下,通信網在規定的條件下和規定時間內,完成規定功能的能力,或者網路在質量允許范圍內正常工作的能力。可靠性是面向網路和設備的安全性能。它要求在規劃設計、施工安裝、運作維護、調度管理等環兆寬悔節保證通信網在質量允許范圍內,不間斷地正常運行。
2)可用性。可用性是指信息和通信服務在需要時允許授權族正人或實體使用,或者網路資源在需要時即可使用的能力。可用性是面向用戶的安全性能,它是指網路部分受損或需要降級使用時,網路應保障最低限度安全,並為授權用戶提供有效的信息和通信服務。特別是在重要場合下,特殊用戶的可用性尤為重要(如緊急時刻指揮員的通信)。為此,通信網需採用適應數字化戰場要求的科學合理的網路拓撲結構,必要的冗餘、容錯和備份措施以及網路自愈技術、分散配置和負荷分擔,各種完善的物理安全和應急措施等,從用戶使用出發,保證通信網的安全。
3)保密性。保密性是指防止信息泄露或提供給非授權個人或實體的特性,或者信息只為授權用戶使用。保密性是面向信息的安全特徵。它是在可靠性和可用性基礎上,保障通信網中信息安全的重要手段。在現代通信網中信息大致可以分為:用戶信息和網管信息兩類。數字化戰場中對用戶信息的保密,其巧纖重要性是公認的;對網管信息的保密性和完整性的認識,自海灣戰爭以來受到人們越來越大的關注。
❷ 求:計算MACD紅綠柱子的面積的公式
飛狐 參數名:參數
............................
參數 10 0.01 1000
............................
p:=26;s:=12;m:=9;
DIFF:EMA(c,s) - EMA(c,p);
DEA:EMA(DIFF,m);
MACD:2*(DIFF-DEA),COLORSTICK;
BV:=SUM(MACD,0);
BA1:=IF(MACD>0 AND ref(MACD,1)<=0,1,0);
BA:=IF(MACD<0 AND ref(MACD,1)>=0,1,BA1);
BC:=BARSLAST(BA)+1;
SMACD:=BV-REF(BV,BC);
var3:=if(macd>0,HHV(abs(macd),bc),LLV(macd,bc));
var4:=macd;
var5:=SMACD;
varn:=ref(var3,1);
drawnumber(ref(var4,1)>0 and var4<=0 ,varn,ref(var5,1)*參數/1.0,0),{pxup100,}colorgreen;
drawnumber(ref(var4,1)<0 and var4>=0 ,varn,ref(abs(var5)*參數/1.0,1),0),{pxdn40,}colorff00ff;
drawnumber(islastbar and var4<0,varn,abs(var5)*參數/1.0,0),align2,colorff00ff{,pxup40};
drawnumber(islastbar and var4>0,varn,var5*參數/1.0,0),align2,colorgreen{,pxdn100};
M1:=REF(MACD,1);
STICKLINE(macd>0 and macd<=m1,0,macd,3,0),coloryellow;
STICKLINE(macd<0 and macd>=m1,0,macd,3,0),colorwhite;
jc := dea-diff;
綠柱面積:IF (MACD<0,SUM(MACD,BARSLAST(jc<0))*參數/1.0,0),linethick0,colorgreen;
紅柱面積:IF (MACD>0,SUM(MACD,BARSLAST(jc>0))*參數/1.0,0),linethick0,colorred;
總股本:FINANCE(1),linethick0;
流通盤:FINANCE(7),linethick0;
股東總數:=FINANCE(50),LINETHICK;
人均持股:流通盤/股東總數*10000,PRECISION2,linethick0;
❸ 通達信紅綠穩健持股持幣指標公式
通達信紅持股綠持幣指標公式
A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,40)/A1/100;
A4:=SUM(AMOUNT,80)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-B1)/B1*100;
B4:=(CLOSE-B2)/冊棚B2*100;
控盤:1,COLORYELLOW,LINETHICK1;
高點:5,,COLORFF6600;
風險:-1,COLORGREEN,LINETHICK2;
低點:-4,COLORCCFF33;
現價:C,NODRAW;
DRAWTEXT(ISLASTBAR AND C,4,' 願賭服輸四段分時'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,3,' 操作選擇正確時段'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,2,' 黃線顫老上方謹慎看多'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-1.5,' 綠線下方保持警惕'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-2.5,' 嚴格遵守操作紀律'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-3.5,' 心態平衡投資順利'),COLOR0000BB;
均價:SUM(現價*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
回調認同茄姿升:EMA(EXPMA(C,20),13),NODRAW;
壓力:MA(REF(HHV(C,30),1),2),NODRAW;
支撐:MA(REF(LLV(C,30),1),2),NODRAW;
STICKLINE(FILTER(C,60)>0,高點,低點,0.5,0),COLORRED;
STICKLINE(B4>0,0,B4,1,0),COLORYELLOW;
STICKLINE(B3>0,0,B3,1,0),COLORRED;
STICKLINE(B3<=0,0,B3,1,0),COLORGREEN;
❹ 通達信軟體唐能通l暖氣帶紅綠顏色怎麼實現
把以下公式復制到「指標公式編輯器」,畫線方法選「主圖疊加」
{價均線系統}
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORRED,LINETHICK2;
MA40:=MA(CLOSE,40),COLORLIBLUE;
MA60:MA(CLOSE,60),COLORGREEN,LINETHICK2;
MA120:MA(CLOSE,120),COLORLIGRAY,LINETHICK2;
MA250:MA(CLOSE,250),COLORBLUE,LINETHICK2;
DRAWBAND(MA(CLOSE,60),RGB(180,40,160),MA(CLOSE,120),RGB(80,200,140));
DRAWBAND(MA(CLOSE,5),RGB(240,160,180),MA(CLOSE,10),RGB(160,200,230));
❺ 求唐能通老師紅綠燈指標參數公式,最好有圖設置的方法,感激不盡! 可發郵箱:[email protected]
A:=MAX(MA(C,5),MA(C,10));
B:=MIN(MA(C,5),MA(C,10));
綠燈行:C>A,COLORGREEN;
紅燈停:C<B,COLORRED;
黃燈觀望:C>=BANDC<=A,COLORYELLOW;
STICKLINE(C>A,3.3,4,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<B,3.3,4,8,0),COLORRED,LINETHICK2;
STICKLINE(C>=BANDC<=A,3.3,4,8,0),COLORYELLOW,LINETHICK2;
F30A:=MAX(MA(C,10),MA(C,20));
F30B:=MIN(MA(C,10),MA(C,20));
綠燈行F30:C>F30A,COLORGREEN;
紅燈停F30:C<F30B,COLORRED;
黃燈觀望F30:C>=F30BANDC<=F30A,COLORYELLOW;
STICKLINE(C>F30A,2.3,3,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F30B,2.3,3,8,0),COLORRED,LINETHICK2;
STICKLINE(C>=F30BANDC<=F30A,2.3,3,8,0),COLORYELLOW,LINETHICK2;
F60A:=MAX(MA(C,20),MA(C,28));
F60B:=MIN(MA(C,20),MA(C,28));
綠燈行F60:C>F60A,COLORGREEN;
紅燈停F60:C<F60B,COLORRED;
黃燈觀望F60:C>=F60BANDC<=F60A,COLORYELLOW;
STICKLINE(C>F60A,1.3,2,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F60B,1.3,2,8,0),COLORRED,LINETHICK2;
STICKLINE(C>=F60BANDC<=F60A,1.3,2,8,0),COLORYELLOW,LINETHICK2;
FRA:=MAX(MA(C,60),MA(C,120));
FRB:=MIN(MA(C,60),MA(C,120));
綠燈行FR:C>FRA,COLORGREEN;
紅燈停FR:C<FRB,COLORRED;
黃燈觀望FR:C>=F30BANDC<=F30A,COLORYELLOW;
STICKLINE(C>FRA,0,1,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<FRB,0,1,8,0),COLORRED,LINETHICK2;
STICKLINE(C>=FRBANDC<=FRA,0,1,8,0),COLORYELLOW,LINETHICK2;
DPA:=MAX(MA(INDEXC,60),MA(INDEXC,120));
唐能通紅綠燈【通達信】
DPB:=MIN(MA(INDEXC,60),MA(INDEXC,120));
綠燈行DP:INDEXC>DPA,COLORGREEN;
紅燈停DP:INDEXC<DPB,COLORRED;
黃燈觀望DP:INDEXC>=DPBANDINDEXC<=DPA,COLORYELLOW;
STICKLINE(INDEXC>DPA,4.3,5,8,0),COLORGREEN,LINETHICK2;
STICKLINE(INDEXC<DPB,4.3,5,8,0),COLORRED,LINETHICK2;
STICKLINE(INDEXC>=DPBANDINDEXC<=DPA,4.3,5,8,0),COLORYELLOW,LINETHICK2;
❻ 求大師分享,告訴我這個紅綠背景主圖是什麼指標公式源碼。那裡可以下載
NA:=STRCAT(CON2STR(YEAR,0),' 年 ');
YA:=STRCAT(CON2STR(MONTH,0),' 月 ');
RA:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(NA,YA), RA);
DRAWTEXT_FIX(C>0,0.88,0,0,SJ);
{布林+寶塔+藍灰操盤}
{藍灰底}
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(買線>=賣線,HHV(H,60),LLV(L,60),5,0),COLOR000045;
STICKLINE(買線<賣線,HHV(H,60),LLV(L,60),5,0),COLOR004500;
{紅軌道}
紅軌道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
軌道:MA(MA(CLOSE,3),3),COLOR32CD32,LINETHICK2;
SHENG:=IF(紅軌道>=軌道,軌道,DRAWNULL);
升:SHENG,COLORMAGENTA,LINETHICK2;
{變色K線}
N1:=14;
M:=6;
TR1:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N1);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N1);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N1);
PDI:=DMP*100/TR1,LINETHICK2;
MDI:=DMM*100/TR1;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLOR0000FF;
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORC08000;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA ;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0) ,COLOR00FF00; }
{箱體線}
N:=7;
T1:=CONST(LLVBARS(LOW,N));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
突破殺入線:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK1,COLORYELLOW;
DRAWTEXT(ISLASTBAR, T3HIGH, '殺入線!'),LINETHICK1,COLORYELLOW;
AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
BA:=EMA(AB,5);
A1{高}:=REFDATE(REF(HHV(H,96),5),DATE);
B1{低}:=REFDATE(REF(LLV(L,96),5),DATE);
DY{中}:=((A1)+(B1))/2;
箱頂:IF(AB>0 AND AB-BA<=0,A1,A1),COLORGREEN,DOTLINE;
箱腰:IF(AB>0 AND AB-BA<=0,DY,DY),COLORYELLOW,DOTLINE;
箱低:IF(AB>0 AND AB-BA<=0,B1,B1),COLORRED,DOTLINE;
DRAWTEXT(ISLASTBAR,箱頂,'箱頂'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,箱腰,'箱腰'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,箱低,'箱低'),COLORYELLOW;
VARAA:=IF(CLOSE>150,91.3,0.913);
{突破:INTPART(CLOSE/VARAA )*VARAA,POINTDOT,LINETHICK4,COLORRED;
再突破:突破+VARAA,POINTDOT,LINETHICK4,COLOR00FF00 ;
回踩:(突破+再突破)/2,POINTDOT,COLORWHITE,LINETHICK4;}
STICKLINE(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),箱低,箱腰,0.1,-1),COLORRED;
STICKLINE(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),箱頂,箱腰,0.1,-1),COLORGREEN;
DRAWICON(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),箱腰,1);
DRAWICON(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),箱腰,2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.01,0,'K線底部出紅色或粉色,可低吸建倉!'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.05,0,'綠點表示長期的壓力點!'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.10,0,'白點表示中短期的壓力和支撐點,'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.16,0,'紅點表示有效支撐或突破長中短期壓力點!股價向下跌破,原則清倉!'),COLORGREEN;
EE:=(H+L+O+2*C)/5;
CRTP:=EE+(H-L);
CRZL:=2*EE-L;
CRZC:=2*EE-H;
CRFZ:=EE-(H-L);
高:CONST(CRTP),COLORRED;
阻:CONST(CRZL),COLORC7C9FF;
支:CONST(CRZC),COLOR7C9CFF;
反:CONST(CRFZ),COLORDD00DD;
DRAWTEXT(ISLASTBAR, 反, '反轉價'),LINETHICK1,COLORDD00DD;
DRAWTEXT(ISLASTBAR, 支, '支撐'),LINETHICK1,COLOR7C9CFF;
DRAWTEXT(ISLASTBAR, 阻, '阻力'),LINETHICK1,COLORC7C9FF;
DRAWTEXT(ISLASTBAR, 高, ' 高破線'),LINETHICK1,COLORGREEN;
均線:=EXPMA(C,12),COLORGRAY,LINETHICK2;
日:=50;
昨前:=3;
高2:=REF(HHV(H,日),昨前);
低2:=REF(LLV(L,日),昨前);
H4:=高2-(高2-低2)*0.618;
H5:=高2-(高2-低2)*0.809;
支撐80.9%:REFDATE(H5,DATE),COLORRED;
支撐61.8%:REFDATE(H4,DATE),COLORGREEN,;
STICKLINE(CURRBARSCOUNT=1,支撐80.9%,支撐80.9%,300,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1,支撐61.8%,支撐61.8%,300,-1),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1 AND 支撐80.9%,支撐80.9%,'備錢'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1 AND 支撐61.8%,支撐61.8%,'轉運'),COLORRED;
WH1:=IF(L=LLV(L,9),L,0);
WH2:=CONST(BARSLAST(WH1!=0));
WH3:=CONST(IF(WH2=0,H,REF(H,WH2)));
WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1);
WH5:=CONST(IF(WH4=0,H,REF(H,WH4)));
WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1);
WH7:IF(CURRBARSCOUNT<=WH2+10,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORRED,DOTLINE;
STICKLINE(CURRBARSCOUNT<=WH2+1 AND L=LLV(L,9),O,C,3,0),COLORRED;
DRAWTEXT(CURRBARSCOUNT=WH2+10,WH7,'LINE'),COLORRED;
DRAWTEXT(ISLASTBAR,WH7,'進場'),COLORRED;
WH8:IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,9),L,DRAWNULL),DRAWNULL),CIRCLEDOT;
H81:=IF(H=HHV(H,9),H,DRAWNULL);
H82:=CONST(BARSLAST(H81!=DRAWNULL));
H83:=CONST(IF(H82=0,L,REF(L,H82)));
H84:=CONST(REF(BARSLAST(L<H83),H82+1)+H82+1);
H85:=CONST(IF(H84=0,L,REF(L,H84)));
H86:=CONST(REF(BARSLAST(L<H85),H84+1)+H84+1);
H87:=IF(CURRBARSCOUNT<=H82+10,CONST(IF(H86=0,L,REF(L,H86))),DRAWNULL),DOTLINE;
H88:=IF(CURRBARSCOUNT<=H82+1,IF(H=HHV(H,9),H,DRAWNULL),DRAWNULL),CIRCLEDOT;
DRAWTEXT(CURRBARSCOUNT=H82+10,H87,'LINE'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,H87,'止損'),COLORYELLOW;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
起爆:=CROSS(AAA-REF(AAA,1),15);
DRAWTEXT(起爆,MA(L,3),'↖暴張'),COLORYELLOW,LINETHICK2;
LC:=REF((O+H+L+2*C)/5,1);
{短線擒黑碼}
RSI:=SMA(MAX(C-LC,0),7,1)/SMA(ABS(C-LC),7,1)*10;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,23))/(0.015*AVEDEV(TYP,23));
買:=CROSS(RSI,7.1) AND MA(V,5)>MA(V,10),COLORRED;
DRAWTEXT(CROSS(RSI,7.1) AND MA(V,5)>MA(V,10),MA(L,3),'↖◆短線擒黑碼◆'),COLORWHITE;
DRAWICON(買,MA(L,3),17);
賣:=CROSS(7.1,RSI) AND MA(V,10)>MA(V,5),COLORGREEN;
DRAWTEXT(CROSS(7.1,RSI) AND MA(V,10)>MA(V,5),箱頂,'■■逃跑■■'),COLORGREEN;
DRAWICON(賣,MA(H,3),28);
{絕密買點}
A81:=EMA(C,3),COLORWHITE;
A82:=EMA(C,5),COLORYELLOW;
A83:=EMA(C,7),COLORMAGENTA;
A84:=EMA(C,12),COLORGREEN;
A85:=EMA(C,20),COLORRED;
A86:=EMA(C,50),COLORBLUE,LINETHICK2;
SS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;
SSS8:=CROSS(A81,A85) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;
DRAWICON(SS8 ,MA(L,3),5);
DRAWTEXT(SS8,MA(L,3),'↖絕密買點'),COLORYELLOW;
ZYX1:="DMI.PDI"(12,6);
ZYX2:="DMI.MDI"(12,6);
ZYX3:=ZYX1>65 AND ZYX1>REF(ZYX1,1);
ZYX4:=LLV(ZYX1,0);
ZYX5:=BARSLAST(ZYX4=ZYX1);
ZYX6:=(0-REF(ZYX2,4))/(ZYX4-REF(ZYX2,ZYX5))>2;
ZYX7:=ZYX1>REF(ZYX1,1);
ZYX8:=VOL>2*MA(VOL,30);
ZYX9:="DMI.ADX"(12,6);
ZYXA:="DMI.ADXR"(12,6);
ZYXB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
ZYXC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
ZYXD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
{ZYXE:=0-"MACD.DIFF"(7,21,3);}
ZYXF:=TROUGHBARS(3,15,1)<4;
ZYX10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
ZYX11:=IF(ZYXF=1,50,0);
ZYX12:=CROSS(ZYX2,ZYX1) AND CROSS(ZYXA,ZYX9);
ZYX13:=CROSS(ZYX2,ZYX1) AND CROSS(ZYX9,ZYXA);
ZYX14:=ZYXB AND ZYXC AND ZYXD AND ZYX10 AND ZYX6 AND ZYX7 AND ZYX8*50;
ZYX15:=BARSLAST(CROSS(ZYX2,ZYX1)=1);
ZYX16:=BARSLAST(CROSS(ZYX1,ZYX2)=1);
ZYX17:=HHV(ZYX1,ZYX16);
ZYX18:=BARSLAST(ZYX1=ZYX17);
{STICKLINE(FILTER(ZYXF=1,5),50,0,10,0),COLORRED;}
ZYX19:=ZYX3 OR ZYX12 OR ZYX13*100;
ZYX1A:=ZYX13*100;
DRAWICON(FILTER(ZYXF=1,3),MA(L,3),23);
DRAWTEXT(FILTER(ZYXF=1,3),箱低,'■■鐵底■■'),COLORGREEN;
{量能平台}
ND:=10;
PTD:=CONST(LLVBARS(V,ND));
TDPX:IF(CURRBARSCOUNT<=ND,CONST(IF(PTD=0,O,REF(O,PTD))),DRAWNULL),COLORFF0000;
IF(CURRBARSCOUNT=PTD+1,TDPX,DRAWNULL),CIRCLEDOT,COLORFF0000,LINETHICK2;
DRAWTEXT(ISLASTBAR,TDPX,' 【地平線】'),COLORFF0000;
G21:=30;
T112:=CONST(HHVBARS(V,G21));
T122:=IF(CURRBARSCOUNT<=G21+7,CONST(IF(T112=0,H,REF(H,T112))),DRAWNULL);
T122A:=IF(CURRBARSCOUNT=T112+1,T122,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,T122,'30天量能平台'),COLORWHITE;
W10:=10;
TW1:=CONST(HHVBARS(V,W10));
TW0:=IF(CURRBARSCOUNT<=W10+7,CONST(IF(TW1=0,C,REF(C,TW1))),DRAWNULL);
TW0A:=IF(CURRBARSCOUNT=TW1+1,TW0,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,TW0,'10量能平台'),COLORWHITE;
W20:=20;
TW20:=CONST(HHVBARS(V,W20));
TW22:=IF(CURRBARSCOUNT<=W20+7,CONST(IF(TW20=0,C,REF(C,TW20))),DRAWNULL);
TW22A:=IF(CURRBARSCOUNT=TW20+1,TW22,DRAWNULL),COLORWHITE;
DRAWTEXT(ISLASTBAR,TW22,'20量能平台'),COLORWHITE;
MW:=10;
MW1:=CONST(LLVBARS(V,MW));
MW0:=IF(CURRBARSCOUNT<=MW+7,CONST(IF(MW1=0,O,REF(O,MW1))),DRAWNULL);
MW0A:=IF(CURRBARSCOUNT=MW1+1,MW0,DRAWNULL),CIRCLEDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,MW0,'地量反彈量能平台'),COLORWHITE;
{N1:=18;N2:=36;N3:=55;}
EM1:=EMA(C,18),NODRAW;
EM2:=EMA(C,36),COLORRED;
EM3:=EMA(C,55),COLORGREEN;
TJ8:=BETWEEN(EM2,EM1,EM3);
{DRAWICON(TJ8=0,L,14);}
B18:='<-----------------財富平台';
DRAWTEXT(VOL=HHV(VOL,20),C ,B18),COLORRED;
{超跌反彈}
RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;
短期底部:=LLV(OPEN,30);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D),LINETHICK2;
D2:=SMA(J,3,1)*0.82;
❼ 通達信紅藍綠三色指標公式
紅色:ColorFF0000或COLORRED
藍色:Color0000FF或ColorBlue
綠色:Color00FF00或ColorGreen
(7)紅綠帶指標公式擴展閱讀:
通達信炒股軟體是一款定位於提供多功能服務的證券信息平台,由深圳財富趨勢科技股份有限公司設計的一款移動證券軟體。通達信允許用戶自由劃分屏幕,並規定每一塊對應哪個內容。
通達信因數據傳輸快,容易DIY,可根據自己的喜好,將指標公式換色。
自定義色格式為COLOR+「RRGGBB」:RR、GG、BB表示紅藍色、綠色和藍色,每種顏色的取值范圍是00-FF,採用了16進制。例如,MA5:MA(CLOSE,5),COLOR00FFFF;
COLOR00FFFF表示純紅色與純綠色的混合色。
資料來源於網路若侵權聯系刪除。
❽ 跪求文華財經紅綠買賣指標公式!冰天雪地跪求!
SMA(VOL,Q,1);Q是參數,在參數欄填寫你取的周期值。
如果使用WH3版本仿戚返,在系統工具下-指標管理器-系統一欄中找到MV指標雙擊打開-在源碼中加入上述語句,填寫好參數。
(8)紅綠帶指標公式擴展閱讀:
公司背景:
品牌經過十幾年的不斷創新和發展,始終堅持技術改變生活的理念,產品匯集了多種獨家的創新技術和方法,讓產品一直引領著行業的進步,公司的產品「文華Mytrader」獲備飢得中國軟體行業協會頒發的「中國金軟體獎」。
產品融入了信息技術與金融智慧,創造出專業期貨軟體的品仔野牌形象。多年被《期貨日報》評為「最佳軟體服務商」,也被上海市軟體行業協會評為「軟體明星企業」,還被中國軟體行業協會評為「2010-2011年度中國軟體和信息服務十大新銳企業」。
發展到今天,文華財經已經是期貨行業的主要軟體系統服務商,為投資者提供交易軟體、交易策略工具軟體,以及相關交易信息。引入文華軟體服務的期貨公司數達到150多家,市場覆蓋率超過90%。
❾ 大盤紅綠柱的計算公式和原理
1.大盤分時走勢:是將樣本股分時股價之和除以樣本數得出的分時曲線的位置,即:(P1+P2+P3+…+ Pn)/n ;大盤的分時曲線是由點位確定的,而大盤點位是由樣板股的股價確定的;
2、大盤的紅綠柱圖(VOL)是反映總體成交量高低的圖示,原理與個股一樣的;
3、「當前本類指數所有上漲股票的最新價之和除以本類所有股票的最新價之和」,這句話實際就是問題一的答案,刻畫出分時走勢實時點位的位置所在;
4、同花順的個股界面時,你通過F1、F2看到的橫向紅綠柱圖示,那是表示個股在某一價位買入賣出結構的示意圖,可以判斷買賣力道哪方強些。
不明白的地方在網路發信息吧,我再做解釋。
答案補充:
K線中有4個指標,即開盤價,收盤價,最高價,最低價。
方框中上下邊的二條線一條表示開盤價,一條表示收盤價。如果開盤價高於收盤價,則該方框為紅色,說明今天漲了。如果開盤價低於收盤價,則說明今天跌了,顏色為綠色。今天曾經到過的最高價和最低價,就以方框上下兩條豎線表示,稱上引線和下引線。
所以一看K線,你就大致知道了今天股市的情況。如果把一個階段來的K線綜合來看,經驗豐富的人就會從中進行分析,推斷今後的大致走向了