Forex



Go Back   Forex Trading > Downloads > Manual trading systems
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #81 (permalink)  
Old 10-04-2006, 10:08 PM
accrete's Avatar
Member
 
Join Date: Jan 2006
Location: The WET! Coast of Oregon, USA
Posts: 69
accrete is on a distinguished road
Lightbulb

Hi all,

Reading the above posts i'll answer a Q/comment that came up. . . Yes as i posted in post 72 above i do use some different strategies w/this EA. I have been trading manually off a 5 min chart using mathmaticaly same moving averages ported over from the 30 min charts. If you read post 72 there are details, but here it is again; pick your favorite MA on a 30m chart, say it happens to be the 10/100 cross on the 30m chart (i only picked this for ease of math and example). Now we know there are 6 five minute periods in each 30 minute period. So, 10 ma X 6 = 60 on five min chart for the short MA (for our "Close" MA), and 100 ma X 6 = 600 on five min chart for the longer MA (for our "Main" MA). Then i also placed the own chart's same short term MA (in our example the 10) as a signal line.

In my test for the 24 hour period i had 18 trades running round the clock with 13/78/330 MAs set on a 5m chart. I closed all trades out because i wanted to place on the chart the v2tf and start fresh for the next Euro open tonight. Oh, this is a PS, should have told you here that of the 18 trades 8 were profitable (some over 40 pips so there is merit in this model, now what remains is the tweaking).

I hope this helps answer things. I like trading manually with moving averages that mathmaticaly match what i feel are working MAs on a larger time frame chart as i have a heads up to the longer trend by looking at one chart, in this case a 5m chart, AND i have the advantage of seeing how the price is behaving around longer term MAs and support resistance areas with multiple tags (many 5m candle tags on an Hourly MA means more to me visualy than a single tag by the same one hour period's 1 candle).

I am going to post a question i have on the "Delta" code below this one.

...continued...
__________________
Find a way to make someone's day

Last edited by accrete; 10-04-2006 at 10:35 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #82 (permalink)  
Old 10-04-2006, 10:14 PM
accrete's Avatar
Member
 
Join Date: Jan 2006
Location: The WET! Coast of Oregon, USA
Posts: 69
accrete is on a distinguished road
Question Question on "Delta" and Buy-Sell coding

Hi again, I wonder if there was a small error in the code of v2? Here is what i find:

Quote:
if (
(Buy1_1 < Buy1_3 && Buy2_1 >= Buy2_3+Delta*Point) ||
(Buy2_1 > Buy2_3 /*&& Buy1_1 <= Buy1_2*/ && Buy2_1 >= Buy2_2+Delta*Point)
) Order = SIGNAL_BUY;

if (
(Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3+Delta*Point)//Accrete changed this to match line one in Buy above
// original line was: (Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3) ||
(Sell2_1 < Sell2_3 /*&& Sell1_1 >= Sell1_2*/ && Sell2_1 <= Sell2_2-Delta*Point)
) Order = SIGNAL_SELL;
So my paste above, i hope that i've done the correct thing by changing this code as shown here (again for detail's sake):

(Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3+Delta*Point)//changed this to match line one in Buy but on Sell
// original line was: (Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3)

Thank you in advance.

Now onto my "Delta" question. Am i correct in thinking, while looking at the code that the "Delta" will place the no-trade-zone around both the main and close moving averages? This is a good thing if that is what the code is telling us in my opinion. I just wanted to make sure i was reading things correctly as written.

--------one more Q.

Quote:
double Sell1_1 = iMA(NULL, 0, SignalEMA_Period, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
double Sell1_2 = iMA(NULL, 0, CloseEMA_Period, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
double Sell1_3 = iMA(NULL, 0, MainEMA_Period, 0, MODE_EMA, PRICE_CLOSE, Current + 1);
If the "Buy" code has "Current + 1" should the above posted code for the "Sell" have "Current - 1" instead of +1??

Cheers,
Thom
__________________
Find a way to make someone's day

Last edited by accrete; 10-04-2006 at 10:25 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #83 (permalink)  
Old 10-05-2006, 07:28 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by YupYup
Yea, in the first post: Statement #2 modeling quality 84% and it only goes back to 2005, not trying to argue... because i appreciate your help newdigital!

B

Edit: Statement #1 modeling quality 90% and it too goes to 2005 here's the dates off statement 1 - 30 Minutes (M30) 2005.10.25 00:00 - 2005.12.25 00:00
YupYup,

You looked at the wrong EAs and wrong statements.
I've never updating anything on the first post of the thread.
May be it is not good but on the first posts of this thread you may see very old EA with very old satements. I am not updating anything on the first post (and asctrend thread as well - nothing was updated on the first post).

The most recent EAs and the satements are here and especially here. 4 pairs with modeling quality 90% back to 2001.

Please don't use EmaFibo_V2 and EmaFibotf_V2 for now because it was found the bug inside coding (thanks accrete).

Last edited by newdigital; 10-05-2006 at 09:03 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #84 (permalink)  
Old 10-05-2006, 07:41 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by solaris
ND, that is how I understand it from codersguru's ProfitProtect. However, that will take away some further pips gain from other pairs which may have more room to move in the direction of the trade.

My idea is more specific to the pair which is reversing. I realize that such pair maybe moving back to the trade direction. But this will be no different than having it hit my breakeven or trailing stop. Actually, I think a code that simply says that if the trade reach a certain # of pips that it protects x # of pips profit, i.e. 10 pips or 5 pips from the cross exit.

I hope that I got my idea across.

So, far the most pips loss I have had was -30 pips on one pair. The EA runs fully automatic, no interference at all.

BTW, another possible enhancement is using a percentage of the Average Daily Range built in within the EA codes as the profit target. The % could be user input.

Question, if I close a trade manually, will it re-enter a trade before another incidence of the trade entry or re-entry condition?

That's it for now. ND, your endless effort and unselfish contribution to this forum is very much appreciated.

solaris

P.S. FYI, I use different MA settings from the originals in the EA.
I got your idea but this EA is having two possibility fot exit:
- exit on crossing of SignalEMA and CloseEMA;
and (not or)
- exit on Stop Loss, take Profit and ts (if StopLossMode = True, TakeProfitMode = True, TrailingStopMode = True).

What does it mean?
It means that if you set TrailingStopMode = True so EA will close the orders accoding to crossing and Trailing Stop as well (Stop loss value will be moving).

Exit of crossing is always "True". But if you set "TrailingStopMode = True" for example so you will have additional possibility for exit.

And StopLossMode, TakeProfitMode and TrailingStopMode are working separatedly from each other. For example EA will use trailing stop anyway even if you have the following settings:
TrailingStopMode = True;
TakeProfitMode = False;
StopLossMode = False.
In this settings EA will use exit on crossing instead of stop loss and will use trailing stop as well.

Any other combination is valid as well.

Please note thatn I am talking about EAs posted here and here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #85 (permalink)  
Old 10-05-2006, 08:06 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by accrete
Hi again, I wonder if there was a small error in the code of v2? Here is what i find:



So my paste above, i hope that i've done the correct thing by changing this code as shown here (again for detail's sake):

(Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3+Delta*Point)//changed this to match line one in Buy but on Sell
// original line was: (Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3)

Thank you in advance.

Now onto my "Delta" question. Am i correct in thinking, while looking at the code that the "Delta" will place the no-trade-zone around both the main and close moving averages? This is a good thing if that is what the code is telling us in my opinion. I just wanted to make sure i was reading things correctly as written.

--------one more Q.



If the "Buy" code has "Current + 1" should the above posted code for the "Sell" have "Current - 1" instead of +1??

Cheers,
Thom
No, "current - 1" is fully wrong. It is the future bar.
Sorry.

As to Delta so look at the code:
Code:
if (Buy1_1 < Buy1_3+(Delta*Point) && Buy2_1 >= Buy2_3+(Delta*Point)) Order = SIGNAL_BUY;
      if (Sell1_1 > Sell1_3-(Delta*Point) && Sell2_1 <= Sell2_3-(Delta*Point)) Order = SIGNAL_SELL;
Look at the image attached illustrating this Delta:
only MainEMA is having Delta.
Attached Images
File Type: gif emafibo_8_21_55.gif (26.6 KB, 764 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #86 (permalink)  
Old 10-05-2006, 08:13 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
And look at this image (attached) from USDJPY pre-set files why we need this Delta.

In USDJPY pre-set Delta=1 so sometimes it helps, sometimes not (1 means almost nothing).
Attached Images
File Type: gif emafibo_usdjpy_pre-set.gif (23.3 KB, 745 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #87 (permalink)  
Old 10-05-2006, 08:20 AM
Senior Member
 
Join Date: Sep 2006
Location: SoCal
Posts: 205
YupYup is on a distinguished road
Thanks for clarification

ND,

Thanks for showing me what posts you meant . I was wondering which ones you were talking about, but now i know!

B
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #88 (permalink)  
Old 10-05-2006, 08:30 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
It was EmaFibo_v1 EA.

As I understand accrete was talking about EmaFibo_v2 EA:

Code:
if (
          (Buy1_1 < Buy1_3 && Buy2_1 >= Buy2_3+Delta*Point)
          ||
          (Buy2_1 > Buy2_3 && Buy2_1 >= Buy2_2+Delta*Point)
         ) Order = SIGNAL_BUY;

      if (
          (Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3)
          || 
          (Sell2_1 < Sell2_3 && Sell2_1 <= Sell2_2-Delta*Point)
         ) Order = SIGNAL_SELL;
It means that in v #2 we have the same Delta applied on the MainEMA (first entry condition) and on the CloseEMA ( second entry condition).

Look at the image attached. I am not really sure that we need this Delta on the second (re-entry) condition.
Attached Images
File Type: gif emafibo2.gif (26.9 KB, 736 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #89 (permalink)  
Old 10-05-2006, 08:51 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by newdigital
It was EmaFibo_v1 EA.

As I understand accrete was talking about EmaFibo_v2 EA:

Code:
if (
          (Buy1_1 < Buy1_3 && Buy2_1 >= Buy2_3+Delta*Point)
          ||
          (Buy2_1 > Buy2_3 && Buy2_1 >= Buy2_2+Delta*Point)
         ) Order = SIGNAL_BUY;

      if (
          (Sell1_1 > Sell1_3 && Sell2_1 <= Sell2_3)
          || 
          (Sell2_1 < Sell2_3 && Sell2_1 <= Sell2_2-Delta*Point)
         ) Order = SIGNAL_SELL;
It means that in v #2 we have the same Delta applied on the MainEMA (first entry condition) and on the CloseEMA ( second entry condition).

Look at the image attached. I am not really sure that we need this Delta on the second (re-entry) condition.
I corrected the code for EmaFibo_v2 EA. Now we have 2 Delta(s).
As I am not really sure that we need at least one of it so I set the value of Delta1 and Delta2 to 0.

Anyway everybody please feel free to change anything inside the code. because I may do some mistake sometimes.
Attached Images
File Type: gif emafibo2.gif (26.9 KB, 702 views)
Attached Files
File Type: mq4 EmaFibo_v2.1.mq4 (11.6 KB, 282 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #90 (permalink)  
Old 10-05-2006, 09:01 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I looked at the pre-set files for EmaFibo_v1 EA and compare it to manual trading and found very strange thing: sometimes w have one order already opened but SignalEMA is not crossing CloseEMA yet but crossing MainEMA once again. So do we need to have the possibility to open more than 1 order at the time (MaxOrders = 3;for example)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
ADX FiboMA, ema55, MT4 インジケーター ダウンロード


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


All times are GMT. The time now is 06:15 PM.



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