View Single Post
  #51 (permalink)  
Old 03-31-2007, 06:48 PM
autumnleaves autumnleaves is offline
Senior Member
 
Join Date: Nov 2006
Posts: 289
autumnleaves is on a distinguished road
More on Chimera

Thanks very much for your very detailed response on Signal 6 in Chimera. I hope to be able to finalize the system with only one more signal.

At the moment I am focusing on 5.7.2 because it is what I am familiar with and because I believe it should not be left unfinished. If we have a version which is completely stable (right down to the TS!!) then we can release it for testing for profitability. I would prefer to wait until this is done before shifting my attention to P6Chimera.

You will find a question on TS in another thread, but in the meanwhile I am working up Signal 7, as follows (I don't think it executes properly). If it is possible for you to make it shipshape I would very much appreciate the effort. The idea again is to issue a false signal when the curve is flat so we don't engage trades that don't go anywhere, or else go where we don't want them to go. This is based on Daraknor's model for Signal 6. I suspect that both of them are misbehaving: they seem to reverse good buys and sells (making them bad) in addition to excluding them when the curve is flat.

Thanks.

#
//=====================SIGNAL7====================== =

bool BuySignal7=false, SellSignal7=false;

double UpperEnvelope = iEnvelopes(NULL,0,P_EnvPeriod,P_EnvMethod,P_EnvShi ft,P_EnvPrice,P_EnvPercent,MODE_UPPER,0);
double LowerEnvelope = iEnvelopes(NULL,0,P_EnvPeriod,P_EnvMethod,P_EnvShi ft,P_EnvPrice,P_EnvPercent,MODE_LOWER,0);
double EnvPriceAv = (Low[0] + High[0] + Close[0])/3;

if(U_UseSig7)
{
if( EnvPriceAv < UpperEnvelope)
{BuySignal7 = true;}
else BuySignal7=false;
if(EnvPriceAv > LowerEnvelope)
{SellSignal7 = true;}
else SellSignal7=false; }
else
{
SellSignal7 =true;
BuySignal7 =true;
}
Reply With Quote