打印本文
關閉窗口
改寫為預警公式
作者:文華財經 來源:cxh99.com 發布時間:2022年08月11日
咨詢內容:
?文華7用: 1?? 出現藍色桃心時預警,2? ?出現紅色桃心時預警,謝謝
文件名:27.png
文件名:28.png
LHS:IF(DATE>211031,1,1),NODRAW;MA3:=MA(C,170);DRAWGBK(MA3>C,RGB(0,0,0),RGB(9,60,1),0);DRAWGBK(MA3<C,RGB(0,0,0),RGB(62,1,1),0);DRAWGBK(MA3=0,RGB(0,0,0),RGB(0,0,0),0);HH1:=IFELSE(H<REF(H,1)&&REF(H,1)<REF(H,2),REF(H,2),0);LL1:=IFELSE(L>REF(L,1)&&REF(L,1)>REF(L,2),REF(L,2),0);HH2:=VALUEWHEN(HH1>0,HH1);LL2:=VALUEWHEN(LL1>0,LL1);HH:=HHV(HIGH,1)/10+HHV(HIGH,2)/10+HHV(HIGH,2)/10+HHV(HIGH,4)/10+HHV(HIGH,4)/10+HHV(HIGH,8)/10+HHV(HIGH,8)/10+HHV(HIGH,13)/10+HHV(HIGH,40)/10+HHV(HIGH,20)/10;LL:=LLV(LOW,1)/10+LLV(LOW,2)/10+LLV(LOW,2)/10+LLV(LOW,4)/10+LLV(LOW,4)/10+LLV(LOW,8)/10+LLV(LOW,8)/10+LLV(LOW,13)/10+LLV(LOW,40)/10+LLV(LOW,20)/10;H1:=IFELSE(HH<REF(HH,1)&&LL<REF(LL,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HH,2),0);L1:=IFELSE(LL>REF(LL,1)&&HH>REF(HH,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,0))>0,REF(LL,2),0);X:=DATE;X0:=H1*LHS,LINETHICK2;X00:=L1;XXX0:=O*LHS,LINETHICK2;XXX00:=C;XXX000:=H;XXX0000:=L;H2:=VALUEWHEN(X0>0,X0)*LHS,LINETHICK2;L2:=VALUEWHEN(X00>0,X00)*LHS,LINETHICK2;K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));K2:=VALUEWHEN(K1<>0,K1);G:=IFELSE(K2=1,H2,L2);G1:=VALUEWHEN(ISLASTBAR,G);DRAWNUMBER(L>0,G1,G1,0,COLORCYAN);DRAWNUMBER(LL>0,G1,G1,0,COLORWHITE),ALIGN0,FONTSIZE30,VALIGN0;X000:=K2*LHS,LINETHICK2;TMP:=K2*LHS,LINETHICK2;W1:=X000*LHS,LINETHICK2;X0000:=OPEN-CLOSE*LHS,LINETHICK2;W2:=X0000*LHS,LINETHICK2;HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;DRAWLINE(W1=1,XXX000,W1=1,HT,COLORCYAN);//青色上影線DRAWLINE(W1=1,XXX0000,W1=1,LT,COLORCYAN);//青色下影線DRAWLINE(W1=-3,XXX000,W1=-3,HT,COLORRED);//紅色上影線DRAWLINE(W1=-3,XXX0000,W1=-3,LT,COLORRED);//紅色下影線STICKLINE(W1>0,XXX0,XXX00,COLORCYAN,1);//青色空心K線STICKLINE(W1<=0,XXX0,XXX00,COLORRED,1);//紅色空心K線STICKLINE(W2>0&&W1<=0,XXX0,XXX00,COLORRED,0);//紅色實心K線STICKLINE(W2>0&&W1>0,XXX0,XXX00,COLORCYAN,0);//青色實心K線DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),COLORCYAN),DOT;//青色折豎線DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),COLORRED),DOT;//紅色折豎線DRAWSL(K2=1,G,0,1,0,COLORCYAN),DOT;//青色折橫線DRAWSL(K2=-3,G,0,1,0,COLORRED),DOT;//紅色折橫線DRAWTEXT(CROSS(TMP,0),HH,'空'),COLORGREEN,FONTSIZE15;DRAWTEXT(CROSS(0,TMP),LL,'多'),FONTSIZE15,VALIGN0;N3:=BARSLAST(CROSS(W1>0,0.5))*LHS,LINETHICK2;N4:=BARSLAST(CROSS(W1<=0,0.5))*LHS,LINETHICK2;HH3:=IF(W1<=0,REF(HV(H,N4),N3),NULL),COLORYELLOW,DOT;LL3:=IF(W1>0,REF(LV(L,N3),N4),NULL),COLORGREEN,DOT;B:=CROSSUP(C,HH3)||REF(ISNULL(HH3),1)&&C>HH3;S:=CROSSDOWN(C,LL3)||REF(ISNULL(LL3),1)&&C<LL3;DRAWICON(B=1,L, 'ICO145');DRAWICON(S=1,H, 'ICO146');
?
?
?來源:程序化99
文華技術人員:
分為兩個預警公式,參考:
1.
LHS:IF(DATE>211031,1,1),NODRAW;
MA3:=MA(C,170);
DRAWGBK(MA3>C,RGB(0,0,0),RGB(9,60,1),0);
DRAWGBK(MA3<C,RGB(0,0,0),RGB(62,1,1),0);
DRAWGBK(MA3=0,RGB(0,0,0),RGB(0,0,0),0);
HH1:=IFELSE(H<REF(H,1)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1:=IFELSE(L>REF(L,1)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2:=VALUEWHEN(HH1>0,HH1);
LL2:=VALUEWHEN(LL1>0,LL1);
HH:=HHV(HIGH,1)/10+HHV(HIGH,2)/10+HHV(HIGH,2)/10+HHV(HIGH,4)/10+HHV(HIGH,4)/10+HHV(HIGH,8)/10+HHV(HIGH,8)/10+HHV(HIGH,13)/10+HHV(HIGH,40)/10+HHV(HIGH,20)/10;
LL:=LLV(LOW,1)/10+LLV(LOW,2)/10+LLV(LOW,2)/10+LLV(LOW,4)/10+LLV(LOW,4)/10+LLV(LOW,8)/10+LLV(LOW,8)/10+LLV(LOW,13)/10+LLV(LOW,40)/10+LLV(LOW,20)/10;
H1:=IFELSE(HH<REF(HH,1)&&LL<REF(LL,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HH,2),0);
L1:=IFELSE(LL>REF(LL,1)&&HH>REF(HH,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,0))>0,REF(LL,2),0);
X:=DATE;
X0:=H1*LHS,LINETHICK2;
X00:=L1;
XXX0:=O*LHS,LINETHICK2;
XXX00:=C;
XXX000:=H;
XXX0000:=L;
H2:=VALUEWHEN(X0>0,X0)*LHS,LINETHICK2;
L2:=VALUEWHEN(X00>0,X00)*LHS,LINETHICK2;
K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IFELSE(K2=1,H2,L2);
G1:=VALUEWHEN(ISLASTBAR,G);
DRAWNUMBER(L>0,G1,G1,0,COLORCYAN);
DRAWNUMBER(LL>0,G1,G1,0,COLORWHITE),ALIGN0,FONTSIZE30,VALIGN0;
X000:=K2*LHS,LINETHICK2;
TMP:=K2*LHS,LINETHICK2;
W1:=X000*LHS,LINETHICK2;
X0000:=OPEN-CLOSE*LHS,LINETHICK2;
W2:=X0000*LHS,LINETHICK2;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;
DRAWLINE(W1=1,XXX000,W1=1,HT,COLORCYAN);//青色上影線
DRAWLINE(W1=1,XXX0000,W1=1,LT,COLORCYAN);//青色下影線
DRAWLINE(W1=-3,XXX000,W1=-3,HT,COLORRED);//紅色上影線
DRAWLINE(W1=-3,XXX0000,W1=-3,LT,COLORRED);//紅色下影線
STICKLINE(W1>0,XXX0,XXX00,COLORCYAN,1);//青色空心K線
STICKLINE(W1<=0,XXX0,XXX00,COLORRED,1);//紅色空心K線
STICKLINE(W2>0&&W1<=0,XXX0,XXX00,COLORRED,0);//紅色實心K線
STICKLINE(W2>0&&W1>0,XXX0,XXX00,COLORCYAN,0);//青色實心K線
DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),COLORCYAN),DOT;//青色折豎線
DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),COLORRED),DOT;//紅色折豎線
DRAWSL(K2=1,G,0,1,0,COLORCYAN),DOT;//青色折橫線
DRAWSL(K2=-3,G,0,1,0,COLORRED),DOT;//紅色折橫線
DRAWTEXT(CROSS(TMP,0),HH,'',COLORGREEN,FONTSIZE15;
DRAWTEXT(CROSS(0,TMP),LL,'',FONTSIZE15,VALIGN0;
N3:=BARSLAST(CROSS(W1>0,0.5))*LHS,LINETHICK2;
N4:=BARSLAST(CROSS(W1<=0,0.5))*LHS,LINETHICK2;
HH3:=IF(W1<=0,REF(HV(H,N4),N3),NULL),COLORYELLOW,DOT;
LL3:=IF(W1>0,REF(LV(L,N3),N4),NULL),COLORGREEN,DOT;
B:=CROSSUP(C,HH3)||REF(ISNULL(HH3),1)&&C>HH3;
S:=CROSSDOWN(C,LL3)||REF(ISNULL(LL3),1)&&C<LL3;
DRAWICON(B=1,L, 'CO145';
DRAWICON(S=1,H, 'CO146';
S=1,NOTICE;
2.
LHS:IF(DATE>211031,1,1),NODRAW;MA3:=MA(C,170);DRAWGBK(MA3>C,RGB(0,0,0),RGB(9,60,1),0);DRAWGBK(MA3<C,RGB(0,0,0),RGB(62,1,1),0);DRAWGBK(MA3=0,RGB(0,0,0),RGB(0,0,0),0);HH1:=IFELSE(H<REF(H,1)&&REF(H,1)<REF(H,2),REF(H,2),0);LL1:=IFELSE(L>REF(L,1)&&REF(L,1)>REF(L,2),REF(L,2),0);HH2:=VALUEWHEN(HH1>0,HH1);LL2:=VALUEWHEN(LL1>0,LL1);HH:=HHV(HIGH,1)/10+HHV(HIGH,2)/10+HHV(HIGH,2)/10+HHV(HIGH,4)/10+HHV(HIGH,4)/10+HHV(HIGH,8)/10+HHV(HIGH,8)/10+HHV(HIGH,13)/10+HHV(HIGH,40)/10+HHV(HIGH,20)/10;LL:=LLV(LOW,1)/10+LLV(LOW,2)/10+LLV(LOW,2)/10+LLV(LOW,4)/10+LLV(LOW,4)/10+LLV(LOW,8)/10+LLV(LOW,8)/10+LLV(LOW,13)/10+LLV(LOW,40)/10+LLV(LOW,20)/10;H1:=IFELSE(HH<REF(HH,1)&&LL<REF(LL,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HH,2),0);L1:=IFELSE(LL>REF(LL,1)&&HH>REF(HH,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,0))>0,REF(LL,2),0);X:=DATE;X0:=H1*LHS,LINETHICK2;X00:=L1;XXX0:=O*LHS,LINETHICK2;XXX00:=C;XXX000:=H;XXX0000:=L;H2:=VALUEWHEN(X0>0,X0)*LHS,LINETHICK2;L2:=VALUEWHEN(X00>0,X00)*LHS,LINETHICK2;K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));K2:=VALUEWHEN(K1<>0,K1);G:=IFELSE(K2=1,H2,L2);G1:=VALUEWHEN(ISLASTBAR,G);DRAWNUMBER(L>0,G1,G1,0,COLORCYAN);DRAWNUMBER(LL>0,G1,G1,0,COLORWHITE),ALIGN0,FONTSIZE30,VALIGN0;X000:=K2*LHS,LINETHICK2;TMP:=K2*LHS,LINETHICK2;W1:=X000*LHS,LINETHICK2;X0000:=OPEN-CLOSE*LHS,LINETHICK2;W2:=X0000*LHS,LINETHICK2;HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE)*LHS,LINETHICK2;DRAWLINE(W1=1,XXX000,W1=1,HT,COLORCYAN);//青色上影線DRAWLINE(W1=1,XXX0000,W1=1,LT,COLORCYAN);//青色下影線DRAWLINE(W1=-3,XXX000,W1=-3,HT,COLORRED);//紅色上影線DRAWLINE(W1=-3,XXX0000,W1=-3,LT,COLORRED);//紅色下影線STICKLINE(W1>0,XXX0,XXX00,COLORCYAN,1);//青色空心K線STICKLINE(W1<=0,XXX0,XXX00,COLORRED,1);//紅色空心K線STICKLINE(W2>0&&W1<=0,XXX0,XXX00,COLORRED,0);//紅色實心K線STICKLINE(W2>0&&W1>0,XXX0,XXX00,COLORCYAN,0);//青色實心K線DRAWLINE(TMP=1&&REF(TMP,1)=1,G,TMP=1&&REF(TMP,1)=1,REF(G,1),COLORCYAN),DOT;//青色折豎線DRAWLINE(TMP=-3&&REF(TMP,1)=-3,G,TMP=-3&&REF(TMP,1)=-3,REF(G,1),COLORRED),DOT;//紅色折豎線DRAWSL(K2=1,G,0,1,0,COLORCYAN),DOT;//青色折橫線DRAWSL(K2=-3,G,0,1,0,COLORRED),DOT;//紅色折橫線DRAWTEXT(CROSS(TMP,0),HH,'',COLORGREEN,FONTSIZE15;DRAWTEXT(CROSS(0,TMP),LL,'',FONTSIZE15,VALIGN0;N3:=BARSLAST(CROSS(W1>0,0.5))*LHS,LINETHICK2;N4:=BARSLAST(CROSS(W1<=0,0.5))*LHS,LINETHICK2;HH3:=IF(W1<=0,REF(HV(H,N4),N3),NULL),COLORYELLOW,DOT;LL3:=IF(W1>0,REF(LV(L,N3),N4),NULL),COLORGREEN,DOT;B:=CROSSUP(C,HH3)||REF(ISNULL(HH3),1)&&C>HH3;S:=CROSSDOWN(C,LL3)||REF(ISNULL(LL3),1)&&C<LL3;DRAWICON(B=1,L, 'CO145';DRAWICON(S=1,H, 'CO146';
B=1,NOTICE;
?
?來源: www.tumamayizhan.com
文華客服:
?
分為兩個預警公式,
1 預警公式是:? 出現藍色 桃心時預警嗎? S=1,NOTICE;
2 預警公式是:? 出現紅色 桃心時預警嗎?B=1,NOTICE;? ?
?
網友回復:
?是的。
?
網友回復:
請問2個預警可以放一起嗎?? 如果2個預警放一起,是不是最后這樣放就可以了?
S=1,NOTICE;
B=1,NOTICE;
打印本文
關閉窗口
主站蜘蛛池模板:
亚洲综合色婷婷在线观看
|
欧美特黄视频在线观看
|
国产色在线播放
|
中文日韩亚洲欧美制服
|
欧美天天综合色影久久精品
|
国产无卡一级毛片aaa
|
久久久精品中文字幕麻豆发布
|
欲惑美妇老师泛滥春情在线播放
|
天天操天天爱天天干
|
亚洲AV无一区二区三区久久
|
老子午夜精品无码
|
夜夜爽夜夜叫夜夜高潮漏水
|
国产一区二区在线观看app
|
91亚洲欧美国产制服动漫
|
日韩高清在线免费观看
|
伊人一伊人色综合网
|
亚洲宅男精品一区在线观看
|
日本一二三区视频
|
免费人成年轻人电影
|
青青国产精品视频
|
国产精品无码免费播放
|
一个人hd高清在线观看免费
|
欧美日韩中文国产一区
|
国产激情在线观看
|
久久国产精品波多野结衣AV
|
亚洲精品无码专区在线在线播放
|
麻豆精品不卡国产免费看
|
嫩草视频在线观看
|
久久亚洲精品国产亚洲老地址
|
特大巨黑人吊性xxx视频
|
国产福利一区二区三区在线视频
|
中文字幕亚洲精品无码
|
波多野结衣一区二区三区高清av
|
亚洲午夜精品久久久久久浪潮
|
色综合久久中文字幕无码
|
国产精品jizz在线观看老狼
|
久久精品无码专区免费
|
精品久久久久久无码中文野结衣
|
国产污视频在线观看
|
www国产无套内射com
|
欧美AAAAAA级午夜福利视频
|