if(adviseLong(PATTERN+FAST+1+RETURNS,0, <<---- don't know if 1 works, never tried, but...
price(2)>price(1) && price(1)<priceClose(1))>50) <<---- this is not certeinly characteristics to "search for a pattern" this is a condition
enterLong();


This could work:
if(adviseLong(PATTERN+FAST+1+RETURNS,0,
price(2),price(1),price(0),
priceClose(2),priceClose(1),priceClose(0))>50)
enterLong();

Last edited by danatrader; 12/27/20 17:09.