- UID
- 2
- 积分
- 2874604
- 威望
- 1387331 布
- 龙e币
- 1487273 刀
- 在线时间
- 13155 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
【C_ShootingStar】
- inputs:
- Len( numericsimple ),
- Factor( numericsimple ) ;
- variables:
- var0( 0 ),
- var1( 0 ),
- var2( 0 ),
- var3( 0 ),
- var4( 0 ) ;
- var0 = MaxList( Close, Open ) ;
- var1 = MinList( Close, Open ) ;
- var2 = var0 - var1 ;
- var3 = XAverage( Close, Len ) ;
- var4 = XAverage( var2, Len ) ;
- condition1 = CurrentBar > 1
- and Close > var3
-
- and Close[1] > Open[1]
-
- and var2[1] > var4[1]
-
- and var1 > var0[1]
-
- and var2 < var4
-
- and var2 > 0
-
- and var0 < MedianPrice
-
- and var1 - Low < var2
-
- and High - var0 > Factor * var2;
- if condition1
- then
- C_ShootingStar = 1
- else
- C_ShootingStar = 0 ;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|