Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Phoenix


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 03-29-2007, 03:09 PM
Senior Member
 
Join Date: Nov 2006
Posts: 283
autumnleaves is on a distinguished road
Volatility-Bollinger-Fibonacci

I am quite convinced that the Volatility Band of the TDI is merely Bollinger bands transposed onto the same scale as the RSI scale, i.e. from 1 to 100. It should be possible to rewrite the Volatility Band as Bollinger if the behaviour of the RSI can also be transposed back to the actual chart scale. This might facilitate programming of the other EASY signals. It may be possible to find a simple analog for the Trade Signal Line from the TDI.

Moreover, the 1.6185 figure used in the TDI scaling is nothing but a Fibonacci number.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42 (permalink)  
Old 03-30-2007, 12:23 AM
Junior Member
 
Join Date: Apr 2006
Posts: 28
Mis B. Havin' is on a distinguished road
Lets try this. What about that? This may work!

It looks like a bunch of chichens being chased by a fox. Every one is heading in different directions without any reasons.

You cant develope a trading system untill you write the plans first. Without one your just going to go around and around ending were you started. Kind like going on a road trip without the map or compass. Lord only knows were you'll end up.

One clear sign when system development is headed no were is when we hear,

Lets try this.
What about that?
This may work!
Etc..

Unless you just like to program and test every indicator you can find, I would seggest developing a game plan first. All those switches and inputs are not what will make a winning system.

By the way what happen to the Phoenix? It was a good system with a solid foundation. So it had a few problems that needed addressed. Why was it bulldosed over? These new systems should not be called Phoenix as they are only by name.

You all should pay more attention to people like davidke20 and all the others that have come and gone. You are not going to get any one that knows trading and system development to give you any help if you go around with your nose in the air and call these people names like you all been doing. I've been following this thread for some time and I think that you all will not be any closer to being done in a year from now.

I do not post much but this needed said. Please have respect for yourselfs and don't start calling me names too.


Mis B. Havin'
Bid in' every one a nice trade.

Last edited by Mis B. Havin'; 03-30-2007 at 12:41 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43 (permalink)  
Old 03-30-2007, 12:58 AM
Senior Member
 
Join Date: Nov 2006
Posts: 283
autumnleaves is on a distinguished road
What next?

Very kind of you to offer your thoughts on the problem. I take full responsibility for the emergence of Chimera, which may or may not be a worthwhile project. I proposed to create a trending system based on Phoenix, and incorporating the signals from EASY. The idea was tolerated and even encouraged. Inevitably it would be criticized as well, something I hope that will prove beneficial.

If you have constructive suggestions, please do put them forward. Should we not use EASY signals? I find some of the Phoenix signals difficult to grasp, and it seemed easier to switch from countertrend to trend if you know what the signals are doing. (Programming the EASY signals raises its own challenges: using analogs to them may enable us to circumvent them.) Many of us are rank amateurs and could certainly benefit from your experience.

Trailing stops were never a central part of Phoenix. Everyone concurred that it would be a positive move to get them working smoothly. That has also been a focus of attention. Other exit techniques are also possible (see Phoenix 6).

Looking forward to hearing from you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44 (permalink)  
Old 03-30-2007, 10:56 PM
Senior Member
 
Join Date: Nov 2006
Posts: 283
autumnleaves is on a distinguished road
Filter for Chimera

Here is a bit of code I am trying to work up into a signal for Chimera. It is intended to prevent trades when the difference between the upper and lower Bollinger Bands is less than a certain number of pips. Since I do not have the programming skills to write exquisite code, I wonder if PContour or Daraknor would be kind enough to correct my errors. Perhaps this is even the wrong way to go about it. Thanks in advance.

double UpperBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_UPPER,BandShift);
double LowerBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_LOWER,BandShift);

if(U_UseSig6)
{
if(UpperBand - LowerBand > BandSpread) {BuySignal6 = true;}
if(UpperBand - LowerBand > BandSpread) {SellSignal6 = true;}
}
else
{
SellSignal6 =true;
BuySignal6 =true;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 03-31-2007, 12:36 AM
Senior Member
 
Join Date: Nov 2006
Posts: 120
hhsmoney is on a distinguished road
I find davidke's comments constructive and helpful. I wish I had more experience with trading and EAs to be able to answer his list of questions. We need more constructive criticisms such as posted by davidke.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46 (permalink)  
Old 03-31-2007, 05:26 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
[quote=davidke20]Mate, I've never trusted EA to open buy stop/sell stop or buy limit/sell limit, unless its a trendline trader. There is few things I think you should start thinking off before we go furthur.[quote] I have found Metatrader to be very unreliable with pending trades in general. I prefer monitoring the open trades if we're waiting for a trade to close, then open the history file. If we're entering while another trade is still open, then I put the code inside the check managed. I wrote a pending trades system on contract, and I explained to my client how it wasn't very robust to do it this way. He went with it anyway, and there was an order issue about 1 out of 40 trades even after many hours of debugging. Letting the broker know when you enter the next trade also seems like a carrot on a stick. The brokers don't seem to mind cheating to get the carrot by adjusting prices. I do agree that direct entry is better.


Quote:
Before we can start, let me know what do you think. Below attached 1 of the trend follower system I made last year. But never been successful on live trading, with just 1 single bug - SLIPPAGE. The price I enter never been honour. The stop always trigger before it mature(study my statement, the stop loss has never been at the same point). This is a BROKER issue killed my EA. Its currently converted to VisualBasic running on API with Oanda. Quite healthy. Thanks to MT4 for the good strategy builder/tester. Have a look. Cheers. Regards David
FXDD has seemed to be an honest type trader in general. I still see their price adjustments on the history files vs chart files, but they are usually similar and there aren't many spikes, more price flattening. I also noticed the highs and lows slip up and down a few extra pips on the chart data. Compared to IBFX, I couldn't even match market data with chart data most of the time. :/

I was considering Oanda to write code for, but the entry price was a little steep for me. My two other options were MBTrading SDK and TradeBullet. I haven't played with TradeBullet yet, but it is broker independent. I'll reply to your bulleted list of questions separately.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 03-31-2007, 05:34 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Quote:
Originally Posted by autumnleaves
Thanks very much for the fix on the parabolic signal PContour, I'll try to test it ASAP.

Meanwhile, I do believe that the TS setup may be misfiring. It appears that it kicks in as soon as the trade is 1 pip in profit, and immediately moves the TP to TS and sets SL to a new position. It then shifts the new SL-TP pair upwards one pip with each pip gained. Is this the way it is intended to work? And how do you activate the scalable TS?
We desperately need a mnaual for P6. MoveTPonTS is the number of pips the TP will get moved up each time the SL is adjusted. If this number is 0, the TP remains the same. Expanding trailing stops in this fashion tend to have double digits higher average profit, with no extra loss. If the pips are coming in, why quit when you're already covered? If ticks are rare or you trade during news, I recommend a value of 2, otherwise MoveTPonTS=1 is fine.

'scalable' has two methods. The first is a parameter not included in this version (I have it working elsewhere) where the trailing stop is configured as a percentage of profit in the init() section. Since we're recommending optimization with static TP & SL values to start with, the trailing stops can be configured by hand. The second type is the parabolic SAR function, which I haven't had time to test yet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 03-31-2007, 06:02 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Answers to David's questions:
1) Whether we go with trend trading
Chimera is a trend follower. It really is a separate EA altogether, but we're using the same trailing stop code, order management code, etc. Chimera was initially a project by a non programmer attempting to implement signals from a manual into an EA. We're working together on making that happen.

2) Anti trend trading
Phoenix is counter trend system.

3) Robust with beginning of the trend(anti trend) to take advantage only on low target and low stop loss. Could take days to open 1 trade(less risk, low return)
Sound advice for a smooth equity curve. Upon first taking on the mantle of "code maintainer" I was disheartened that the system was completely unprofitable on some brokers. We also noticed the trades flipping back and forth with each ripple. The Consecutive Signals code was added by a member of ForexFactory, and I integrated it in with a low signal count with good results. Myself and others found that increasing the consecutive signals made up for other deficiencies in the signal entry, and the EA became more robust and profitable, but still fragile.

4) Trade expiration(even opened trade, not just pending order)
Grace/Force exit code is used.

5) How reliable the indicator is
The Phoenix (not Chimera) indicators appear to be curve fit toward a specific market. When the market type changes, they fall apart. I would rate the signal as not robust at all. On the other hand, it almost won a contest.

6) Will the volatility affect your indicator? Say, a spike could bring you into the trade
Not that I have seen in forward or backward testing. The main trade provocation is small ripples on the way down. A consolidated market is also traded, but dislike that type of entry since the signals didn't predict the break out direction. It may be possible to configure the settings improperly enough to trade spikes, but I haven't seen it.

7) Exit strategy? Target? Stop loss?Based on PIP's define by trader? Or robust by the system itself to judge? Indicators? Price action? Swing trading?
Phoenix has a TP and SL optimized for each currency pair, and each market type. This is extremely frustrating to me. I was considering making TP and SL numbers calculated from the last 3-5 top to bottom cycles.

8) Do we enter all the trades at the same leve? In that case, I will never go split order. Because when we die, we die togather, why not we win togather. That is not diversify the risk, but risking what you should made about.
The "mode 3" like behavior all used the same entry point. It may be possible that the trailing stop and breakeven code completely supercedes this type, but I have also had independent requests for this type of trading. I have nearly no opinion if it is wise at all. I tended to risk management by increasing the consecutive signals, decreasing the size of each trade, and then increasing the maxtrades parameter. This way I might enter later trades, but only if the signal is still valid. This also led to hedging if the TP/SL completely missed the immediate bump.

9) 2 level martingale? 1 trade not success, go for another 1 with double lot size(only if you're confidence with your indicator)
I only recommend doubling the lots if the second trade has a chance at profit on it's own.

10) When is the due date of this project? What is the objective? Who is the objective? Is the market majority using this EA, will it affect the price movement life cycle? If it is, then safe it. No point to carry on.
The objectives were stated in the main phoenix development thread. #1 I wanted to rewrite phoenix with the same functionality, but not restricted by mode. I also disliked the True/False grid for signals. #2 Add a trend filter so we don't fight strong trends anymore. #3 Write new exit strategies and tinker with different signals. #4 Add support and resist level awareness.

Chimera simply uses the same basic code for a new purpose.

We tried very hard to get the same signal when all other variables were identical. Since the broker prices are different, the system trades differently with different brokers. To my knowledge, only trends, fibonacci levels and tight channels are self reinforcing. I have been pondering the "emergent" vs "deterministic" question a lot, and I think Phoenix (and probably Chimera) are limited to measuring emergent behaviors. A side project of mine is working on deterministic behaviors.

11) Refer 10, is that every broker, every platform, every user are going to get the same signal. You buy, I buy, he buy, she buy, everybody buy. Or its based on the broker feed?
Broker feed. If we were trading with large numbers there might be issues if either A) we overload the broker's position, and they feel compelled to enter the market B) we collectively become a market maker by pushing billions of dollars through several brokers and islands. Consider the large number of people on both sides of the fence, I don't think we'll make much of a difference beyond the broker even if we tried. If we do make a difference with an unscrupulous broker, they wouldn't affect the market so much as alter their price feed to hit stops.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 03-31-2007, 06:09 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Quote:
Originally Posted by autumnleaves
Here is a bit of code I am trying to work up into a signal for Chimera. It is intended to prevent trades when the difference between the upper and lower Bollinger Bands is less than a certain number of pips. Since I do not have the programming skills to write exquisite code, I wonder if PContour or Daraknor would be kind enough to correct my errors. Perhaps this is even the wrong way to go about it. Thanks in advance.

double UpperBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_UPPER,BandShift);
double LowerBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_LOWER,BandShift);

if(U_UseSig6)
{
if(UpperBand - LowerBand > BandSpread) {BuySignal6 = true;}
if(UpperBand - LowerBand > BandSpread) {SellSignal6 = true;}
}
else
{
SellSignal6 =true;
BuySignal6 =true;
In Phoenix6 this would be a filter. What I didn't see in this P5 style code is how you would ever get a false value. When I troubleshoot, I try to see if my code is returning the right data, then I try to see if the code is doing the right thing based on that data. I didn't check your data, but I'd recommend setting a false value right after the subtraction in an else.
Code:
            if(UpperBand - LowerBand > BandSpread)   
               {BuySignal6  = true;}      
            else BuySignal6=false;      
            if(UpperBand - LowerBand > BandSpread)
               {SellSignal6  = true;}   
            else SellSignal6=false;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 03-31-2007, 04:46 PM
Pcontour's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Canada
Posts: 172
Pcontour is on a distinguished road
Thumbs up

Quote:
Originally Posted by autumnleaves
Here is a bit of code I am trying to work up into a signal for Chimera. It is intended to prevent trades when the difference between the upper and lower Bollinger Bands is less than a certain number of pips. Since I do not have the programming skills to write exquisite code, I wonder if PContour or Daraknor would be kind enough to correct my errors. Perhaps this is even the wrong way to go about it. Thanks in advance.

double UpperBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_UPPER,BandShift);
double LowerBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_LOWER,BandShift);

if(U_UseSig6)
{
if(UpperBand - LowerBand > BandSpread) {BuySignal6 = true;}
if(UpperBand - LowerBand > BandSpread) {SellSignal6 = true;}
}
else
{
SellSignal6 =true;
BuySignal6 =true;
First a little known Daraknor secret. It's not a secret at all, but I didnt know it could be done until I saw that Daraknor had done it. Use the # sign when writing a note to include code in the original format. It is great for including any note where formatting is critical.

AutumnLeaves, Since you are working on 5 and 6, we need to know which one you are asking about. Or perhaps you always need the code for both.

Daraknor has indicated to me that it is important that the code execute as quickly as possible, so I would improve the code like this.

Version 5 code

Code:
    //=====================SIGNAL6=======================  


    bool SellSignal6 =true;
    bool BuySignal6  =true;
    
    if(U_UseSig6)
      {
        double UpperBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_UPPER,BandShift);
        double LowerBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_LOWER,BandShift);
        if(UpperBand - LowerBand < BandSpread)
          {
            BuySignal6  = false;
            SellSignal6 = false;
          }
      }
Version 6 code

Code:
bool Z_F5_BlockTradingFilter5()    // Stop Trade if Bollinger Bands too narrow
  {
    bool BlockTrade=false;
    
    double UpperBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_UPPER,BandShift);
    double LowerBand = iBands(NULL,0,BandPeriod,BandStDev,0,BandPrice,MOD E_LOWER,BandShift);

    if(UpperBand - LowerBand < BandSpread)
      {
        BlockTrade=true;
        L3_WriteDebug("EntryFilter5 BollBand: Upper="+UpperBand+" Lower="+LowerBand+" Spread="+BandSpread+" Trade DisAllowed");
      }
    else
      {
        L3_WriteDebug("EntryFilter5 BollBand: Upper="+UpperBand+" Lower="+LowerBand+" Spread="+BandSpread+" Trade Allowed");
      }

    return(BlockTrade);
  }
Also add the following code in V6 to void A1_OpenTrade_If_Signal()

Code:
    if (P_EntryFilter5On)
      if (Z_F5_BlockTradingFilter5()) return;
Final Note

I'm not sure which signals you are taking out of 5.7.2 Chimera and which ones you are leaving in. You are the guy with the latest code for Chimera. This piece of code was note working as expected so I haven't posted it yet. I wanted to add is a piece of code that if the trade errors out because of the U_MinLot it will increase by .01 until the trade succeeds, or .1 lots has been reached. The code could also work on the U_MaxLot to reduce it by a factor ... same idea.

Code:
if(U_MinLot==0) U_MinLot = MarketInfo(Symbol(),MODE_MINLOT); //Pcontour 5.7.3
if(U_MaxLot==0) U_MaxLot = MarketInfo(Symbol(),MODE_MAXLOT); //Pcontour 5.7.3

and 

    if(lot<U_MinLot) { lot=U_MinLot; Print("lots switched to min ",lot); }  //Dmitry_CH Add 5.7.1
    if(lot>U_MaxLot) { lot=U_MaxLot; Print("lots switched to max ",lot); }  //Dmitry_CH Add 5.7.1
Why don't you add the code I posted for the signal 6, to Chimera 5.7.2 and post it so we can be on the same page.

Last edited by Pcontour; 04-01-2007 at 12:58 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
eas, martingale, parabolic, programing, traders dynamic index, tremoco, chimera, SetIndexBuffer function must be called from custom indicator only, Traders Dynamic Index EA, phoenix ea forex, PHOENIX EA, chimera ea

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ToR 1.02 - Trending or Ranging nittany1 Indicators - Metatrader 4 147 11-28-2008 07:46 PM
Ranging Vs. Trending marcf General Discussion 3 04-10-2007 08:47 AM
Phoenix - Chimera Time Management Pcontour Phoenix 3 04-01-2007 10:51 PM
What works best when market isn't trending? Aaragorn General Discussion 3 07-12-2006 08:35 AM
Best Trending Currencies WannaBeATrader Questions 7 06-23-2006 08:36 PM


All times are GMT. The time now is 04:15 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.