[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AMIBROKER] INSIDE DAY( )FORMULA SHARK_32



PureBytes Links

Trading Reference Links

HI, TOMASZ AND DIMITRI;

Dimitri;

In reference to my post regarding SHARK_32 formula, you stated that
you built the exploration using the formula in AFL code: 

INSIDE SYNTAX inside() 
RETURNS ARRAY 
FUNCTION Gives a "1" or "true" when an inside day occurs.Gives "0" 
otherwise. An inside day occurs when today's high is less than 
yesterday's high and today's low is greater than yesterday's low. 

This function is not correct as it is written. AN INSIDE DAY IS A DAY
IN WHICH THE RANGE IS COMPLETELY INSIDE THE PREVIOUS DAY'S RANGE.

TODAY'S HIGH IS LOWER THAN YESTERDAY'S HIGH AND TODAY'S LOW IS HIGHER
THAN YESTERDAY'S LOW.

Maybe with the adjustment to the AFL function, your shark_32 will 
produce better results.

Please respond.
Best Wishes
Anthony.