Help with iAlligator function in EA
don per:
double curr_open_jaw= iAlligator( NULL,0,20,0,20,1,20,0,MODE_SMMA,PRICE_CLOSE,MODE_GATORJAW,0);
double curr_open_teeth= iAlligator( NULL,0,20,0,20,1,20,0,MODE_SMMA,PRICE_CLOSE,MODE_GATORTEETH,0);
you are comparing values for the current bar, this is constantly changing.
double curr_open_jaw= iAlligator( NULL,0,20,0,20,1,20,0,MODE_SMMA,PRICE_CLOSE,MODE_GATORJAW,0);
double curr_open_teeth= iAlligator( NULL,0,20,0,20,1,20,0,MODE_SMMA,PRICE_CLOSE,MODE_GATORTEETH,0);