
等级: 新手上路
- 注册:
- 2024-4-8
- 曾用名:
|

楼主 |
发表于 2024-4-10 13:54
来自手机
|
显示全部楼层
INPUT:TC(2000,1000,50000,1000); LOTS:=(INTPART(TC/OPEN)/100)*100; //5天前的价格 close1:=callstock(stklabel,vtclose,6,-5); //当天开盘涨停并且当前价格小于五天前价格的10.98的5次方 cond1:DYNAINFO( 4)=DYNAINFO( 54) and close/close1<POW(1.098,5); bars:barslast(close=DYNAINFO( 54)); cond2:DYNAINFO( 6)>DYNAINFO( 54)*(1.068); AAA:=OPENMINUTES(TIME); TJ1:=LLV(L,AAA) > DYNAINFO( 54)*0.95; TJ2:=LLV(L,2)<DYNAINFO( 54) AND C=DYNAINFO( 54); IF cond1 and currenttime<113000 AND TJ1 AND TODAYHOLDING=0 THEN BEGIN TBUY(TJ2,LOTS,MKT); END |
|