【C_ShootingStar】
[code]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 ;
[/code]
页:
[1]