PureBytes Links
Trading Reference Links
|
Dear Traders
I am getting an EXE code to large error when i try to run this function. It
is a true false function to return a 1 or 0 depending on whether or not the
ADX meets trending criteria.This does not seem to complicated or large
enough to pose a problem. Any one have any ideas.
ADX_Status = 1;
If ADX(14) < 30 and ADX(14) >12.99 and ADX(8) < 30 and ADX(8) >12.99 then
ADX_Status = 0;
If ADX(14) >= 30 then begin
If LinearRegSlope(ADX(14),5) < LinearRegSlope(ADX(14),5)[5] then
ADX_Status = 0;
End;
If ADX(8) >= 30 then begin
If LinearRegSlope(ADX(8),5) < LinearRegSlope(ADX(8),5)[5] then
ADX_Status = 0;
End;
Thanks
Gaston
|