• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 5:17pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 5:17pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Trading correlation pairs by using the other pairs 729 replies

Export All pairs or selected pairs to .csv with script 3 replies

Pairs of Currency Pairs 4 replies

Trending Pairs / Ranging Pairs 0 replies

Robot trading 120 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 746
Attachments: scooby-doo BOJ JPY pairs trading robot
Exit Attachments

scooby-doo BOJ JPY pairs trading robot

  • Last Post
  •  
  • 1 238239Page 240241242 429
  • 1 Page 240 429
  •  
  • Post #4,781
  • Quote
  • Jan 20, 2010 5:58am Jan 20, 2010 5:58am
  •  camvcvoo
  • Joined Nov 2006 | Status: Member | 678 Posts
Quoting scooby-doo
Disliked
Information

The martingale type systems you see on ebay for 0.99 will ofcourse blow your accounts very quickly.

The one I put forward has very clear entries based on OB/OS in multiple timeframes.

Also, we only ever goto 3 levels and start with a relatively low starting lot size.

Having said this, nothing in forex (or anything else) is gauranteed as external factors such as earthquakes, political assinations, government scandal, interest rate changes etc will upset the apple cart at some point.

Anyway, try it on a demo account.

Scoobs...
Ignored

As i mentioned earlier in Post # 4771, have also requested coding into EA for EURGBP and EURCHF. Let's see how it goes....
福 子 Victor V
  • Post #4,782
  • Quote
  • Jan 20, 2010 6:01am Jan 20, 2010 6:01am
  •  camvcvoo
  • Joined Nov 2006 | Status: Member | 678 Posts
DXTrade,

I remember along the way you post your dashboard with M15, H1 and H4. The link in the first post is M5, M15 and H1.

Do you think you can post the version with H4?

Thanks.
福 子 Victor V
  • Post #4,783
  • Quote
  • Jan 20, 2010 6:26am Jan 20, 2010 6:26am
  •  DXTrade
  • Joined Jul 2007 | Status: Take Five | 755 Posts
Quoting camvcvoo
Disliked
DXTrade,

I remember along the way you post your dashboard with M15, H1 and H4. The link in the first post is M5, M15 and H1.

Do you think you can post the version with H4?

Thanks.
Ignored
Here you go...
Attached File
File Type: ex4 DXT Scooby inverted.ex4   18 KB | 260 downloads
"The only successful substitute for brains is silence."
  • Post #4,784
  • Quote
  • Jan 20, 2010 6:44am Jan 20, 2010 6:44am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting swnke2
Disliked
Regarding the implementation of the SillyHedgingStopLoss (that some of us need to use because of our criminal partners (LOL - great phrase), I think the logic for calcuating the SL is incorrect and results in some of the errors we've seen:
Ignored
Cheers. Nice bit of blunder-spotting.

Fix is in post 1. If you are never going to use SillyHedgingStopLoss then you don't need it.

Now, can anyone see why this code snippet should fail to calculate a lot size that is acceptable to the criminal?

Inserted Code
//Auto lot calc
   if (RobotCalculatesLotSize)
   {
      double LotStep = MarketInfo(Symbol(), MODE_LOTSTEP);   
      //Make sure that there are not too many decimal places in the result of the calculation
      int decimals;
      if (LotStep >0 && LotStep < 0.1) decimals = 2;//0.01
      if (LotStep >0.09 && LotStep < 1) decimals = 1;//0.1
      if (LotStep >0.9) decimals = 0;//1   
      Lot = NormalizeDouble(AccountEquity() / LotDivisor, decimals);
      if (Lot < LotStep) Lot = LotStep * 2;
   }//if (RobotCalculatesLotSize)

  • Post #4,785
  • Quote
  • Jan 20, 2010 7:41am Jan 20, 2010 7:41am
  •  enigmaFX
  • | Joined Mar 2009 | Status: Member | 10 Posts
Quoting SteveHopwood
Disliked
Cheers. Nice bit of blunder-spotting.

Fix is in post 1. If you are never going to use SillyHedgingStopLoss then you don't need it.

Now, can anyone see why this code snippet should fail to calculate a lot size that is acceptable to the criminal?

[code]
//Auto lot calc...
Ignored
Steve,
not really sure what is wrong with your code, however, after I change the lotsize calculation to the following, your robots works fine with my broker (which has 0.1 lotstep):

Lot = NormalizeDouble(AccountEquity() / LotDivisor, 2);
Lot = NormalizeDouble(Lot/LotStep,0)*LotStep;
  • Post #4,786
  • Quote
  • Jan 20, 2010 7:53am Jan 20, 2010 7:53am
  •  hotstorm
  • | Joined Jul 2007 | Status: Member | 148 Posts
Quoting SteveHopwood
Disliked
Cheers. Nice bit of blunder-spotting.

Fix is in post 1. If you are never going to use SillyHedgingStopLoss then you don't need it.

Now, can anyone see why this code snippet should fail to calculate a lot size that is acceptable to the criminal?

[code]
//Auto lot calc...
Ignored
One of the reasons could be that even LotStep*2 can be less than MODE_MINLOT, which is not necessarily equal to MODE_LOTSTEP.

From MQL4 docs:
MODE_MINLOT 23 Minimum permitted amount of a lot.
  • Post #4,787
  • Quote
  • Jan 20, 2010 8:11am Jan 20, 2010 8:11am
  •  Jezza
  • | Joined Nov 2009 | Status: Member | 162 Posts
- DB demo currently has 7 trades and 7 hedges open and in quite a bit of drawdown.
- Original BOJ still churning out profits when conditions are met (News Filter set at 2 so I don't get as many trades as some people.)
- AI Daily doing well. 6% profit for the week so far.
- RS Simple was doing ok but have 2 trades currently going pear shaped. (Trying 4 pairs on this one at the same time)
- RS Crosspairs was up 2% but has a trade going south at the moment
- Opposite Positions Bot up 10% for the week, despite a couple of losing trades.

All in all looks promising Congrats to Steve & Scoob.
  • Post #4,788
  • Quote
  • Jan 20, 2010 10:40am Jan 20, 2010 10:40am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Just to let everyone know, the Boris Schlossberg thread is back up and running.

  • Post #4,789
  • Quote
  • Jan 20, 2010 10:53am Jan 20, 2010 10:53am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting hotstorm
Disliked
One of the reasons could be that even LotStep*2 can be less than MODE_MINLOT, which is not necessarily equal to MODE_LOTSTEP.

From MQL4 docs:
MODE_MINLOT 23 Minimum permitted amount of a lot.
Ignored
Ye Gods, I can be a spoon sometimes.

Why the blazes was I using LOTSTEP not MINLIT?

Yeesh. If I had a firing brain cell, I would be lethal.

Cheers hotstorm.

Fix in post 1.

  • Post #4,790
  • Quote
  • Jan 20, 2010 1:31pm Jan 20, 2010 1:31pm
  •  vicky_ag
  • | Joined Feb 2009 | Status: Member | 295 Posts
Steve

I think this a problem specific to me but just wanted to confirm. I attached the BOJ Original V2.2 to my charts and set the "Sell Hour Starts" and the "BuyHourStarts" values for the Tokyo open and close time subtracted 2 hrs (in my local timing 2 am and 10 am) . The strange issue is that I am yet to have a single buy.

All my trades have been sells, all near the closing hour. I thought the issue might be due to my comp going to sleep mode , which wasnt the case. One day I sat during the supposed trade timings and still all I got was sells during the close hour. Help !!!

Vicky
  • Post #4,791
  • Quote
  • Jan 20, 2010 1:54pm Jan 20, 2010 1:54pm
  •  dryclean
  • Joined Oct 2008 | Status: Sailing for pips | 2,099 Posts
All my trades have been sells, all near the closing hour. I thought the issue might be due to my comp

Check the sma setting if true or false

check thread for setting
  • Post #4,792
  • Quote
  • Jan 20, 2010 6:01pm Jan 20, 2010 6:01pm
  •  awk
  • | Joined Oct 2009 | Status: Member | 66 Posts
Alright guys, I have been running DB for 24 hours, it opened all 7 trades and hedged them all. So now I am in approx 6% drawdown. The obvious question is, what now ? Should I just wait for the trades to close themselves or ?
  • Post #4,793
  • Quote
  • Jan 20, 2010 6:13pm Jan 20, 2010 6:13pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting macman
Disliked
Hi Steve,

Some way back Scooby posted an idea which looked promising, basically increasing lot size the further into the OB/OS zone a trade went.

Did you consider it for the DB?

Here are some code snippets which show the idea

extern int...
Ignored
Just to let you know, I have started to think about this.

First I am going to code the system scoobs posted and that you sent me a link for. This will give DB a bit more time to bed in.

After that, I shall think about implementing 5he contents of this post into DB.

  • Post #4,794
  • Quote
  • Jan 20, 2010 6:15pm Jan 20, 2010 6:15pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting awk
Disliked
Alright guys, I have been running DB for 24 hours, it opened all 7 trades and hedged them all. So now I am in approx 6% drawdown. The obvious question is, what now ? Should I just wait for the trades to close themselves or ?
Ignored
Wait and see. What happens in a sustained move against the trades is one of the issues here.

Partial hedging has worked wonders for my Simple demo trades. I am hoping the same will happen here. We shall see.

  • Post #4,795
  • Quote
  • Edited at 7:38pm Jan 20, 2010 7:25pm | Edited at 7:38pm
  •  Jaula
  • | Joined Sep 2009 | Status: Member | 119 Posts
Shall I sell XXX/JPY now? Info indicator is saying wait
Attached Image (click to enlarge)
Click to Enlarge

Name: Sell.jpg
Size: 95 KB
  • Post #4,796
  • Quote
  • Jan 20, 2010 7:32pm Jan 20, 2010 7:32pm
  •  scooby-doo
  • Joined Jul 2009 | Status: Member | 2,158 Posts
Quoting Jaula
Disliked
Sell XXX/JPY now
Ignored
This is not a thread for posting trading signals.

Do it again and you will be banned by the thread starter.
  • Post #4,797
  • Quote
  • Jan 20, 2010 7:41pm Jan 20, 2010 7:41pm
  •  Jaula
  • | Joined Sep 2009 | Status: Member | 119 Posts
Quoting scooby-doo
Disliked
This is not a thread for posting trading signals.

Do it again and you will be banned by the thread starter.
Ignored
Ok, sorry didn't mean to post trading signal, have changed the post.
  • Post #4,798
  • Quote
  • Jan 20, 2010 8:04pm Jan 20, 2010 8:04pm
  •  astral77
  • | Joined Nov 2009 | Status: Member | 1,196 Posts
Quoting Jaula
Disliked
Ok, sorry didn't mean to post trading signal, have changed the post.
Ignored
I think you have misunderstood the concepts here. Amongst other misunderstandings you have the EA running and this will decide on the trade. I suggest go delete your penultimate post and read the important postings few times.
  • Post #4,799
  • Quote
  • Jan 20, 2010 8:22pm Jan 20, 2010 8:22pm
  •  goldcourse
  • | Joined Nov 2006 | Status: Go With The Randomness Of Price | 320 Posts
I found this mtf rsi by cja @ forex-tsd. Very useful.

The rsi periods and the time frames are user defined.


Enjoy.
Attached File
File Type: ex4 RSI_Bars_M_v3.ex4   52 KB | 282 downloads
  • Post #4,800
  • Quote
  • Jan 20, 2010 8:24pm Jan 20, 2010 8:24pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting scooby-doo
Disliked
Another RSI method for any pair which is very safe due to starting lotsize.

Example:

Go Short

- Wait for 2TF RSI > 70 Sell 1.0 Lot
- Wait for 2TF RSI > 80 Sell 2.0 Lot
- Wait for 2TF RSI > 90 Sell 3.0 Lot
- Close out when TP hit

Go Long

- Wait for 2TF RSI < 30 Sell 1.0 Lot
- Wait for 2TF RSI < 20 Sell 2.0 Lot
- Wait for 2TF RSI < 10 Sell 3.0 Lot
- Close out when TP hit

Your starting lotsize should be AccountFreeMargin() / 50000. The sequence should only start when the currency pair first becomes OB or OS.

Scoobs

PS. This is...
Ignored
People have been commenting about how I never seem to sleep. How the hell am I supposed to sleep when there is so much exciting stuff going on?

The attached robot begins to address Scoob's comments in the quote. I don't want to put it in the zip in post 1 yet, because it isn't even close to being finished. What I want is for those of you who know what is going on here to stick it on a demo and watch what happens.

Ignore hedging stuff. I have adapted the DB robot, so the hedging stuff will not apply to what is going on here. It will, but not yet.

I need you guys to think about a few things:

  1. Take profit is a basket tp based on the fact that there might be three trades open. Does 1% of balance sound like a good idea?
  2. If we are going to go down the hedging route, then how?
  3. If disaster strikes, how do we exit a possible basket of 3 trades, given that no 3 will have x3 the lot size of the first?

I have a 3 trade basket on screen right now. Boy, but those upl figures change with dizzying speed.

Stick the bot an a demo you don't mind seeing blown, watch what happens and come up with comments.

Attached File
File Type: mq4 Scooby-doo Multi-Rsi Multi-Lot trading robot.mq4   37 KB | 240 downloads
  • Commercial Content
  • /
  • scooby-doo BOJ JPY pairs trading robot
  • Reply to Thread
    • 1 238239Page 240241242 429
    • 1 Page 240 429
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021