PureBytes Links
Trading Reference Links
|
Please can You tell me what is wrong with this code.
Error Code (#177) TOO MANY INPUTS SUPPLIED
How can write it in a way that allow me to run optimisations.
Regards
{*******************************************************************
Description : ADX Divergence and BreakOut
********************************************************************}
Inputs: Osc(ADX (Close, 14));
If BullishDivergence(Close,Osc,2,10) = 1
then
Buy next bar at Highest(High,5) + 1 point Stop;
If BearishDivergence(Close,Osc,2,20) = 1
then Sell next bar at Lowest(Low,5) - 1 point Stop;
SetExitOnClose;
|