| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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. |
|
|||
|
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; |
|
||||
|
Quote:
'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. |
|
||||
|
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. |
|
||||
|
Quote:
Code:
if(UpperBand - LowerBand > BandSpread)
{BuySignal6 = true;}
else BuySignal6=false;
if(UpperBand - LowerBand > BandSpread)
{SellSignal6 = true;}
else SellSignal6=false;
|
|
||||
|
Quote:
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;
}
}
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);
}
Code:
if (P_EntryFilter5On)
if (Z_F5_BlockTradingFilter5()) return;
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
Last edited by Pcontour; 04-01-2007 at 12:58 AM. |
![]() |
| 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 | |
|
|
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 |