• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:05pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:05pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Great traders asking newbies questions 31 replies

Questions for Prospective Broker Every Trader Can Ask Post your response 1 reply

Making Money and the Most Basic of All Basic Strategies 42 replies

Retail Sales? Trade Balance? What it means? Newbies ask here. Pros answer here. 9 replies

questions to ask your broker 2 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 144
Attachments: Nanningbob V5 auto-trading robot. Newbies, fearlessly ask your basic questions here
Exit Attachments
Tags: Nanningbob V5 auto-trading robot. Newbies, fearlessly ask your basic questions here
Cancel

Nanningbob V5 auto-trading robot. Newbies, fearlessly ask your basic questions here

  • Last Post
  •  
  • 1 2829Page 303132 47
  • 1 29Page 3031 47
  •  
  • Post #581
  • Quote
  • Mar 22, 2011 8:09am Mar 22, 2011 8:09am
  •  rexio
  • | Joined Feb 2010 | Status: Member | 197 Posts
Quoting rthien
Disliked
,


[code]
if (!PrimaryFound)
{
PrimaryFound = true;
}
else {
if (PrimaryFound) {
result = OrderDelete(OrderTicket());
Sleep(1000);
if (result)
{
PendingTrades--;
if (PendingTrades == 1) return(success);
}
else return(false);
}
}
Ignored
IMHO , the condition " if (PrimaryFound) { " is redundant and could be omitted. That makes the code even more simple.

Have a nice day,
Rexio.
 
 
  • Post #582
  • Quote
  • Mar 22, 2011 8:35am Mar 22, 2011 8:35am
  •  rexio
  • | Joined Feb 2010 | Status: Member | 197 Posts
Hi all,

I did a #7SELL on eurusd on 21mar11 at 09:19 CET price 1.4157 .
Now, the eu has run against this position and I am preparing to do a Level 2 trade.
I am just wondering what is the best distance in pips ? Is 100 pips fine or should this number be made bigger ?

Have a nice day,
Rexio.
 
 
  • Post #583
  • Quote
  • Mar 23, 2011 10:57am Mar 23, 2011 10:57am
  •  Swazi
  • | Joined Mar 2011 | Status: Junior Member | 3 Posts
I am trying to become familiar with TOB and have run into a snag I can't make sense of. I am a noobie forex learner (only a month of study) and I first off just want to say Thank You for such a great piece of software and all the knowledge available here, and particularly your FF topics Steve.

My snag is this:
(I'm sure it's simple and I should be able to figure it out but have run into a wall)

When running TOB on a demo account with 18 pairs open I view on the charts:
Volatility = 710, CloseTradeAtGold = true : 1030, green : 820, gold : 1110, green ...etc...

The Old Beast.mq4 I have loaded on all charts
CloseTradeAtGold=false;
CloseTradeAtGreen=false;
CloseTradeAtMiddleWhiteLine=false;
extern string acc1="AutoCalc over rides the above";
AutoCalcTradeClosureLine=true;

extern string vs="----Volatility inputs----";
LookBackDays=20;
LowVolatility=100;
MediumVolatility=150;
HighVolatility=200;
PsychoticallyDeranged=250;

//Low
if (Volatility < LowVolatility) CloseTradeAtGold = true;
//Medium/high
if (Volatility >= LowVolatility && Volatility < PsychoticallyDeranged) CloseTradeAtGreen = true;
//Deranged
if (Volatility >= PsychoticallyDeranged) CloseTradeAtMiddleWhiteLine = true;

BTW they are all 1H charts. Everything figures out correctly assuming you drop a 0 from the volatility shown on the chart. TOB is correctly calculating the close trade line then. I'm not sure you actually drop a 0 though.

One pair out of 18 (GBP/USD) shows a volatility on the chart as 5100, and also CloseTradeAtGold = true, I believe this should be white. 5100 -> drop a 0 to get 510 which is greater than 250 should be PsychoticallyDeranged ,trade at whitemiddle? TOB accepted a trade this morning where it immediately closed on gold for a small profit but could have (should have?) waited a few more minutes for white and much larger profit. I actually do not have any charts showing CloseTradeAtMiddleWhiteLine = true.

Thanks for reading all that! Sorry if I confused, I have a hard time explaining myself sometimes.
 
 
  • Post #584
  • Quote
  • Edited 7:51pm Mar 23, 2011 5:07pm | Edited 7:51pm
  •  iwjw
  • | Joined Mar 2011 | Status: Member | 464 Posts
Hi Steve,
can't post in your restricted BJ thread so I will ask my question here:
Your latest change in the BJ EA to add to a position that's up "PipsToSecondTrade" pips made me think about the risk that the new position is adding. I came to the conclusion that it shouldn't matter whether I add to a position that's up "PipsToSecondTrade" pips or simply close a position that's down "PipsToSecondTrade" pips.
But the benefit of closing should be:
- don't have to pay the spread
- don't have to pay the commission (depends on broker)
- you reduce the margin
What do you think?
 
 
  • Post #585
  • Quote
  • Mar 26, 2011 6:17am Mar 26, 2011 6:17am
  •  rthien
  • | Joined Dec 2010 | Status: Member | 10 Posts
Quoting rexio
Disliked
IMHO , the condition " if (PrimaryFound) { " is redundant and could be omitted. That makes the code even more simple.

Have a nice day,
Rexio.
Ignored
Rexio,

You are absolutely correctly. Perhaps, it would be even more eloquent to rewrite CleanUp() as follows (which shows why my 1st suggestion for the code rewrite had a redundant "if" loop):

Inserted Code
bool CleanUp()
{

   bool success = true, result = true;
   int cc;

   
   //Delete duplicate pending trades
   if (PendingTrades > 1)
   {
      bool PrimaryFound=false;
      for (cc = OrdersTotal() - 1; cc >= 0; cc--)
      {
         if (!OrderSelect(cc, SELECT_BY_POS) ) continue;
         if (OrderSymbol() == Symbol()  && (OrderType() == OP_BUYSTOP || OrderType() == OP_SELLSTOP))
         {
            if (PrimaryFound) {
               result = OrderDelete(OrderTicket());
               Sleep(1000);
               if (result) 
               {
                  PendingTrades--;
                  if (PendingTrades == 1) return(success);
               }
               else return(false);
            }
            else  PrimaryFound = true;
         }
      }
   }
   else return(success);

}//End bool CleanUp()

It's up to Steve if he wants to adopt the above revision in his updates but as you mentioned, the code will do the job as is. Just doing an extra check ensuring that PrimaryFound is true prior to deleting other duplicate pending trades.

Cheers,

Roger
 
 
  • Post #586
  • Quote
  • Mar 26, 2011 4:03pm Mar 26, 2011 4:03pm
  •  shiningstar
  • | Joined Dec 2010 | Status: Member | 79 Posts
Hi Steve,

I did not find the take profit option...

I wonder is it possible to add an option in trade closure part which allow traders to choose whether use take profit or not and set the take profit pips according to the traders preference?

Thanks very much!

Regards,
 
 
  • Post #587
  • Quote
  • Mar 26, 2011 6:14pm Mar 26, 2011 6:14pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting rthien
Disliked
Rexio,

You are absolutely correctly....
Ignored
Steve doesn't care. It aint broke, so he aint fixing it.

More to the point, he aint risking breaking it.

Get the message guys, or shall I spell it out?

 
 
  • Post #588
  • Quote
  • Mar 26, 2011 6:16pm Mar 26, 2011 6:16pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting shiningstar
Disliked
Hi Steve,

I did not find the take profit option...

I wonder is it possible to add an option in trade closure part which allow traders to choose whether use take profit or not and set the take profit pips according to the traders preference?

Thanks very much!

Regards,
Ignored
Don't be silly. Most people cannot cope with all the inputs as they are. Do you really think that complicating things further would help?

 
 
  • Post #589
  • Quote
  • Mar 26, 2011 6:18pm Mar 26, 2011 6:18pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Sorry to be a bit blunt here tonight guys, but some of what I have read has been just plain silly. I have not even replied to the daftest of posts.

Have a great weekend. Good luck next week. Just learn to make TOB work for you as it is, ok?

 
 
  • Post #590
  • Quote
  • Mar 29, 2011 3:33pm Mar 29, 2011 3:33pm
  •  hankeys
  • | Joined May 2010 | Status: Member | 47 Posts
i have one proposal about funkction new in TOB - candlestick ts. if i understand well, it is funkctional always, not only when recovery. i think it will be better to do this.
Leave the settings of TOB as they are - close on GOLD line, when in recovery, close on GoldLineBEP.
What i propose is this - i have set GoldLineBEP to 10. when in recovery and market goes to GoldLineBEP, dont close the trades in recovery, only set the STOPLOSS in level when these trades do clasical BE not BEP and on the next candle start the candlestick ts.
So when we are in recovery, and GoldLineBEP is reached, worse we can do BE (0) or catch the big moves with these recovery trades.
Am I clear?
 
 
  • Post #591
  • Quote
  • Mar 30, 2011 3:01am Mar 30, 2011 3:01am
  •  hankeys
  • | Joined May 2010 | Status: Member | 47 Posts
here is my thought. What if we make the TOB trend system - would it be possible to TOB works in reverse mode, not to send SELL STOP on dashed magenda line, but send BUY LIMIT with TP at magenta (sixsixth) or use candlestick ts with it. When reached magenta set stop loss to BE and activate candlestick ts. Something like two-way system, hedging also.
 
 
  • Post #592
  • Quote
  • Mar 30, 2011 3:08am Mar 30, 2011 3:08am
  •  hankeys
  • | Joined May 2010 | Status: Member | 47 Posts
another thought about max open pairs allowed. I think it would be better to set like this. If I have already send SELL STOP with EURJPY i dont want another ***JPY trade send, because these pairs are corelating, and if one JPY goes to hell, the another will go with it. So is there an option to program these funkction like this? if i have open for example one JPY trade, dont open another JPY trade, bud open other pair, for example ***USD??
THX for this great system.
 
 
  • Post #593
  • Quote
  • Apr 1, 2011 2:36pm Apr 1, 2011 2:36pm
  •  shiningstar
  • | Joined Dec 2010 | Status: Member | 79 Posts
Hi Steve,

In this post
http://www.forexfactory.com/showpost...postcount=1264

 

  1. second trade is at MinPipsFromLastEntry pips from the first, assuming the conditions are correct for sending the second trade.
  2. subsequent trades depend of volatility, when going with the defaults, or depending on your inputs.

I am testing the TOB with candle trailing stop feature. I have changed the MinPipsFromLastEntry to 100 to lower my DD. But when I test on my demo account the G/J, entered the second 100 pips from the first. This is correct according to what is stated above. But the third also entered 100 pips away from the second. The reentry line for G/J is 250 pips. Shouldn't the third should enter 250 pips away from the second? The reentry line for the 4th trade is 250 pips away from the third trade. I am not sure if this is correct or not.

Attached Image(s) (click to enlarge)
Click to Enlarge

Name: gj.gif
Size: 26 KB
Click to Enlarge

Name: gj2.jpg
Size: 27 KB
 
 
  • Post #594
  • Quote
  • Apr 1, 2011 5:26pm Apr 1, 2011 5:26pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting shiningstar
Disliked
Hi Steve,

In this post
http://www.forexfactory.com/showpost...postcount=1264

 

  1. second trade is at MinPipsFromLastEntry pips from the first, assuming the conditions are correct for sending the second trade.
  2. subsequent trades depend of volatility, when going with the defaults, or depending on your inputs.

I am testing the TOB with candle trailing stop feature. I have changed the MinPipsFromLastEntry to 100 to lower my DD....

Ignored
Yes it should. I will look into this.

 
 
  • Post #595
  • Quote
  • Edited 8:47am Apr 3, 2011 8:44am | Edited 8:47am
  •  Nicastro
  • | Joined Mar 2010 | Status: Member | 186 Posts
Dear Mr Hopwood,

I have no facility to post on your threads. I have posted on Brijon's thread and Brijon seems of the opinion that the following enhancements to the Ea would be of help:-

a) Any particular pair to close once a Trailing Stop of a user defined X number of pips is reached AND

b) Immediately replace the closed out pair with a new trade for the same pair and in the same direction at the same lot size.

This gives us the stock turnover and printing money that Brijon refers to.

c) If the entire basket reaches the basket take profit level, then close the entire basket and re-open the basket as the EA currently provides.

At this point we are thinking and taking profit. Here we are becoming traders.

d) There will inevitably be a few pairs that go into drawdawn, these pairs we can hedge and close at BE plus a pip or two to recompense us for the capital employed.

Here we are putting into play the concept of circles: loss profit loss and getting out in the middle of the circle in profit.

e) Having closed these slow moving/losing pairs, a new trade of the same pair (s) and in the original direction is entered in order to bring back the basket into a synthetically hedged state.

Could you please incorporate features a), b), d) and e) into the EA.

These will take the EA a long way down the route of deploying the game mode concept without needing to have to have a base set of trades (the basket of either 6 pair or 14 pair) to which we add traded pairs after checking trends, volumes etc.

Effectively, we allow ourselves to be lead by price action only and respond to it accordingly.

Thanks for your time in "listening" - I hope its not a "load of ol'tosh" -
please tell me if it is. If it is not, may I ask that you allow me to post directly onto your therad?

Sincerely
Nicastro
 
 
  • Post #596
  • Quote
  • Apr 3, 2011 8:55am Apr 3, 2011 8:55am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Nicastro
Disliked
Dear Mr Hopwood,

I have no facility to post on your threads. I have posted on Brijon's thread and Brijon seems of the opinion that the following enhancements to the Ea would be of help:-

a) Any particular pair to close once a Trailing Stop of a user defined X number of pips is reached AND

b) Immediately replace the closed out pair with a new trade for the same pair and in the same direction at the same lot size.

This gives us the stock turnover and printing money that Brijon refers to.

c) If the entire basket reaches the basket take...
Ignored
Thanks Nicastro. You can post in all my threads now. Do me a favour please, and re-post this in the EA thread so that it is not missed by the creative people.

 
 
  • Post #597
  • Quote
  • Apr 3, 2011 3:01pm Apr 3, 2011 3:01pm
  •  Kathor
  • | Joined Mar 2011 | Status: Member | 3 Posts
Quote
Disliked
On demo, I am going to try Glenn's hedging idea, probably at a simple -100 rather than mucking around with atr etc. I shall use mptm for this rather than the bot's own hedging features, so I can use hedge-the-hedge as well.

Hi Steve,

I've been a long time reader of your threads and your work is one of the main reasons I have signed up. What a fantastic community you have created here.

I have, predictably enough, a very newbie question. When you say that you will use mptm in order to hedge-the-hedge, do you mean that once the first hedge is initiated you will take TOB off that chart and just use the MPTM EA for that specific pair?

I hasten to add that I'm nowhere near the level of trading virtuosity to attempt this on my demo just wanted to make sure that I understood what you had in mind.

Thanks,
kathor
 
 
  • Post #598
  • Quote
  • Apr 4, 2011 2:29am Apr 4, 2011 2:29am
  •  Nicastro
  • | Joined Mar 2010 | Status: Member | 186 Posts
Quoting SteveHopwood
Disliked
Thanks Nicastro. You can post in all my threads now. Do me a favour please, and re-post this in the EA thread so that it is not missed by the creative people.

Ignored
Thank you very much Mr Hopwood. Will post on the thread immediately.

Sincerely

Nicastro
 
 
  • Post #599
  • Quote
  • Apr 4, 2011 5:19am Apr 4, 2011 5:19am
  •  pekejo
  • | Joined Jan 2011 | Status: Junior Member | 2 Posts
hi Steve and all ToB users. I had a question abt the touchesrequired function. I wanted to know if users had any experience, good or bad, as to its usefulness. Also would it be better to set the touches required based on the individual pair so that different pairs require different number of touches?

Thanks
 
 
  • Post #600
  • Quote
  • Apr 4, 2011 8:02pm Apr 4, 2011 8:02pm
  •  Trucomallica
  • | Joined Mar 2011 | Status: Member | 124 Posts
Steve, I'm a little confused. When you refer to "defaults settings being your preferences", you are talking about the ones in the manual or the way TOB is configured by default? There are some differences like the hedging stuff.
 
 
  • Commercial Content
  • /
  • Nanningbob V5 auto-trading robot. Newbies, fearlessly ask your basic questions here
  • Reply to Thread
    • 1 2829Page 303132 47
    • 1 29Page 3031 47
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 / ©2023