View Single Post
  #9 (permalink)  
Old 03-26-2007, 04:54 AM
autumnleaves autumnleaves is offline
Senior Member
 
Join Date: Nov 2006
Posts: 289
autumnleaves is on a distinguished road
EASY signals

That's right, the PAC and RSI relative to 50 signals are approved and certified, thanks to PContour:

//=====================SIGNAL6====================== ==

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 = (Open[0]+High[0]+Low[0]+Close[0])*(0.25);

// Print("HighPAC1: ", HighPAC1, "LowPAC1: ", LowPAC1, "haClose1: ", haClose1);
if(U_UseSig6)
{
if(haClose1 > HighPAC1) {BuySignal6 = true;}
if(haClose1 < LowPAC1) {SellSignal6 = true;}
}
else
{
SellSignal6=true;
BuySignal6 =true;
}

//=====================SIGNAL7====================== =
bool BuySignal7=false, SellSignal7=false;

double RSILine = iRSI(NULL,0,P_RSIArrPer,PRICE_CLOSE,0); //Period=13 Price=Close

if(U_UseSig5)
{
if(RSILine > P_RSI_High) {BuySignal7 = true;} //High and Low are 50 by default
if(RSILine < P_RSI_Low) {SellSignal7 = true;}
}
else
{
SellSignal7=true;
BuySignal7 =true;
}
Reply With Quote