通达信游资进场扫货副图源码


QQA:=1;
 
RG1:=MA(CLOSE,27)*QQA;
RG2:=((CLOSE-RG1)/(RG1))*(100);
RG3:=MA(RG2,2);
RG4:=BARSLAST((CROSS((-10),RG3)=1));
RG5:=(RG3< (-10)) AND (RG4>3);
V1:=CLOSE/REF(MA(CLOSE,36),6)*10;
RF1:=REF(C,1);
RF2:=((SMA(MAX((CLOSE - RF1),0),9,1) / SMA(ABS((CLOSE - RF1)),9,1)) * 100);
RF3:=((100 - (3 * SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1)));
RF4:=((100 - (3 * SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,75)) / (HHV(HIGH,75) - LLV(LOW,75))) * 100),30,1),21,1)));
RF5:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10);
RF6:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
RF7:=SMA(SMA(RF6,16,8),25,8)-SMA(RF5,30,8);
K0:=IF((RF2< 14) AND LOW< REF(LOW,1) AND V1< 8.8 AND RF7< -65,50,0);
K1:=IF(K0>1 AND CLOSE>OPEN,50,0);
K2:=IF(K0>1 AND CLOSE/LOW>1.045,50,0);
K3:=IF(REF(K0,1)>0 AND K0=0,10,0);
机构1:IF(K0>3 AND RG5=0,5,0),STICK,COLOR4080FF,LINETHICK3;
K4:=IF(MAX(MAX(K1,K2),K3) AND REF(机构1,1)>0,30,0);
进场1:IF(K4>0 AND REF(K4,1)=0,10,0),STICK,COLORRED,LINETHICK3;
DRAWTEXT(进场1=10,11,'进场1'),COLORRED;
DRAWTEXT(机构1=5,6,'机构1'),COLOR4080FF;
机构2:IF(K0>3 AND RG5>0,5,0),STICK,COLORFF00FF,LINETHICK3;
K5:=IF(MAX(MAX(K1,K2),K3) AND REF(机构2,1)>0,10,0);
进场2:IF(K5>1 AND REF(K5,1)=0,10,0),STICK,COLORRED,,LINETHICK3;
DRAWTEXT(进场2=10,11,'进场2'),COLORRED;
DRAWTEXT(机构2=5,6,'机构2'),COLORFF00FF;
LS261:=EMA(CLOSE,2);
LS262:=EMA(CLOSE,150);
LS26:=LS261-LS262;
LS27:=EMA(LS26,100);
LS28:=2*(LS26-LS27);
粉线:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100*QQA,COLORMAGENTA,LINETHICK2;
白线:EMA(粉线,3)*QQA,COLORC0C0C0,LINETHICK2;
VAR1:=LLV(LOW,3)<=LLV(LOW,60);
VAR2:=CLOSE>OPEN AND (CLOSE/OPEN>1.03 OR CLOSE/REF(CLOSE,1)>1.03);
游资:(IF(VAR1 AND VAR2,粉线,0))*QQA,STICK,COLORFF8000,LINETHICK3;
DRAWTEXT(游资>0 OR 游资< 0 ,白线, '游资扫货'),COLORFF8000,LINETHICK6;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图