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

price range



PureBytes Links

Trading Reference Links


Hi tomasz i was look the afl and can't seem to find 
a way to check for a price range maybe its something simple like
lowprice = close(close,0)>.50;
hiprice= close(,0)>1.50;
 
hmm looks like i found it
 
lowprice = close>.50;hiprice= 
close<1.50;hirange = lowprice <= hiprice;lowrange = hiprice >= 
lowprice;
 
buy = hirange and  lowprice;  this works 
/* buy=lowprice >= lowprice and hiprice <= hiprice; no finds all 
pricesbuy = lowrange >= hirange;   no find all under 1.50*/