View Single Post
  #3 (permalink)  
Old 03-14-2007, 03:38 PM
autumnleaves autumnleaves is offline
Senior Member
 
Join Date: Nov 2006
Posts: 289
autumnleaves is on a distinguished road
Extra Signal for Phoenix

I would like to add extra signals from EASY (see Malone EASY document) to Phoenix. When I try to add the Price Action Channel, the result is exclusively sell transactions. Can you suggest why this might be happening? See the code below.

Perhaps these signals could be included in Phoenix 6.

bool BuySignal6=false, SellSignal6=false;

double HighPAC1 = iMA(NULL,0,P_PACPer,P_PACShift,MODE_SMMA,PRICE_HIG H,0);
double LowPAC1 = iMA(NULL,0,P_PACPer,P_PACShift,MODE_SMMA,PRICE_LOW ,0);
double haClose1 = (PRICE_OPEN + PRICE_HIGH + PRICE_LOW + PRICE_CLOSE)*(0.25);

if(U_UseSig6)
{
if(haClose1 > HighPAC1) {BuySignal6 = true;}
if(haClose1 < LowPAC1) {SellSignal6 = true;}
}
else
{
SellSignal6=true;
BuySignal6 =true;
Reply With Quote