View Single Post
  #53 (permalink)  
Old 03-31-2007, 09:16 PM
Pcontour's Avatar
Pcontour Pcontour is offline
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 176
Pcontour is on a distinguished road
Quote:
Originally Posted by autumnleaves
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.

#
Code:
    //=====================SIGNAL7=======================  
    
    bool BuySignal7=false, SellSignal7=false;

         double UpperEnvelope = iEnvelopes(NULL,0,P_EnvPeriod,P_EnvMethod,P_EnvShift,P_EnvPrice,P_EnvPercent,MODE_UPPER,0);
         double LowerEnvelope = iEnvelopes(NULL,0,P_EnvPeriod,P_EnvMethod,P_EnvShift,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;
      }
A few Generic Points

1. You will find a question on TS in another thread, - Answered it almost 4 hours ago.

2. Use the # key to enter your code in the original format. Go back to post 51 highlight your code and hit the # button, that is what I did to it above.

When entering new code.
  1. Copy the code from elsewhere.
  2. Press the # pound button.
  3. Do <ctrl>v


3. Post your code current code to your post #51 - you will need to click Advanced (Edit)

4. I am not up to date on everything everyone says. I admit some of it goes over my head. I just work with the latest code.

Signal 7 - more questions

What is it supposed to do.
  1. If the price is below, high envelope buy
  2. If the price is above low envelope sell
  • It follows that if the price is between the two envelopes buy and sell are both allowed.

Did I understand correctly?

Priorities

If we have a version which is completely stable (right down to the TS!!) then we can release it for testing for profitability.

This sounds like a good idea, but I will wait for P6. Would that be Chimera or both? I think Phoenix 6 is going to be much more solid and safe for live trading. For myself, I feel inclined like Daraknor did a couple of months ago, to move on to P6 and C6. My personal intention is to trade with P6 or C6 in the future, never with P5.7. Work on P5 and C5 that help with the 6 version is fine with me.

Last edited by Pcontour; 03-31-2007 at 09:19 PM.
Reply With Quote