Holy Graily Bob
- TraderJoeForex
- Trader
- Posts: 1157
- Joined: Fri Mar 08, 2013 10:29 pm
- Location: South London
Holy Graily Bob
I use TDMTL for manual exits.... once there is a break against the trend (i.e. the red line in the example below) I'm out but it keeps you in long enough.
I have attached the Indi - Bob introduced this to us in 10.7 and there is more info in that thread or on the web.
I have attached the Indi - Bob introduced this to us in 10.7 and there is more info in that thread or on the web.
You do not have the required permissions to view the files attached to this post.
- NeoFx62
- Posts: 6
- Joined: Tue Apr 16, 2013 5:14 pm
- Location: Tenerife, Spain
Holy Graily Bob
First post in this thread , so don´t be too rude...
Do you think it's an good idea to add in HGB (lov it :hi: ) the days of the week in Trading Hours and be able to choose for each day, the trading hours .
Create a trailing stop based on a percent scale target(1) or at a specific time of day of the week (2).
-(1) Example : 5% percent balance target to trigger the TS and close when the value decreases by 1 %
-(2)Example 2; I choose trading M30 8:00 to 10:59 and I want the TS is triggered at 11:00 and closes all orders and expert adviser as soon as the cash profit goes down x percent...
Regards
Phil

Do you think it's an good idea to add in HGB (lov it :hi: ) the days of the week in Trading Hours and be able to choose for each day, the trading hours .
Create a trailing stop based on a percent scale target(1) or at a specific time of day of the week (2).
-(1) Example : 5% percent balance target to trigger the TS and close when the value decreases by 1 %
-(2)Example 2; I choose trading M30 8:00 to 10:59 and I want the TS is triggered at 11:00 and closes all orders and expert adviser as soon as the cash profit goes down x percent...
Regards
Phil

Yes I know my English is terrible and the Google translator does what he can, so take it easy guys ..
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Holy Graily Bob
Here is the problem Phil. SHF member asks for a feature so I code it. Along comes the next member asking for a feature, so I code it. Along comes the next member.................................NeoFx62 » Sat May 02, 2015 5:51 pm wrote:First post in this thread , so don´t be too rude...![]()
Do you think it's an good idea to add in HGB (lov it :hi: ) the days of the week in Trading Hours and be able to choose for each day, the trading hours .
Create a trailing stop based on a percent scale target(1) or at a specific time of day of the week (2).
-(1) Example : 5% percent balance target to trigger the TS and close when the value decreases by 1 %
-(2)Example 2; I choose trading M30 8:00 to 10:59 and I want the TS is triggered at 11:00 and closes all orders and expert adviser as soon as the cash profit goes down x percent...
Regards
Phil
All of these new features may or may not be of any use. Usually not. Eventually the code becomes so complex that it breaks. This has already happened once to HGB - this is the second HGB thread. I closed the first after rewriting the bot to get rid of a lot of the rubbish that I was daft enough to allow to creep in.
Here is how to get a feature added: prove it works. Come along and announce that you have increased your account balance by 100% in x weeks doing <whatever it is you have been doing> and I guarantee you will grab out attention.
Or you can learn to code and add the feature for yourself to facilitate your experimentation. I have long maintained that traders should learn to code CrapQl4. It is a bog-basic language that anybody can learn. The ability to have an idea for automation and immediately be able to code it is invaluable. Not a popular point of view, but true nevertheless.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- NeoFx62
- Posts: 6
- Joined: Tue Apr 16, 2013 5:14 pm
- Location: Tenerife, Spain
Holy Graily Bob
Hi Steve
Thanks for your quick answer.
I'll try to reach an % target as much as I can in smalls time frame and let you known in two months if what I saw friday was an accident or is valuable start of something..
About coding , better learning chinese for me
but I'll try to find in FF is there is something looking like, I saw it inside the Copy Trader of FxBlue but the code is not accesible I think...
Greetings to the all team, you've done an hudge work all together !!!
Phil
Thanks for your quick answer.
I'll try to reach an % target as much as I can in smalls time frame and let you known in two months if what I saw friday was an accident or is valuable start of something..
About coding , better learning chinese for me
Greetings to the all team, you've done an hudge work all together !!!
Phil
Yes I know my English is terrible and the Google translator does what he can, so take it easy guys ..
-
Pipstubborn
- Trader
- Posts: 272
- Joined: Thu Jul 12, 2012 5:17 pm
Holy Graily Bob
Hi Steve,
Not sure if this is the correct thread to post my question and hope you're in a good mood today.
I'm trading H1 HGB with instant market main trades no multilevel and want to use the ATR module for SL/TP, so I set the standard SL/TP to cero. I want to have a 2 to 1 (risk/reward) SL/TP so I set the ATR functions as follows.
ATR Period 20
ATR Time Frame 60
ATR TP multiplier 2.0
ATR SL multiplier 4.0
My problem is that when the trades are placed by HGB the distance from the entry point to SL is correct, but the distance to TP is the same as the SL, should be half of it. Example 60 pips SL, 30 pips TP for a 2 to 1.
Am I doing something wrong on the settings?
Thanks in advance for your advice and have a great day.
Not sure if this is the correct thread to post my question and hope you're in a good mood today.
I'm trading H1 HGB with instant market main trades no multilevel and want to use the ATR module for SL/TP, so I set the standard SL/TP to cero. I want to have a 2 to 1 (risk/reward) SL/TP so I set the ATR functions as follows.
ATR Period 20
ATR Time Frame 60
ATR TP multiplier 2.0
ATR SL multiplier 4.0
My problem is that when the trades are placed by HGB the distance from the entry point to SL is correct, but the distance to TP is the same as the SL, should be half of it. Example 60 pips SL, 30 pips TP for a 2 to 1.
Am I doing something wrong on the settings?
Thanks in advance for your advice and have a great day.
- zader
- Trader
- Posts: 90
- Joined: Fri Jul 06, 2012 8:46 am
- Location: Rundown NW England
Holy Graily Bob
This looks like an error on line 1532 in the CalculateTakeProfit()Pipstubborn » Wed May 06, 2015 12:15 am wrote:Hi Steve,
Not sure if this is the correct thread to post my question and hope you're in a good mood today.
I'm trading H1 HGB with instant market main trades no multilevel and want to use the ATR module for SL/TP, so I set the standard SL/TP to cero. I want to have a 2 to 1 (risk/reward) SL/TP so I set the ATR functions as follows.
ATR Period 20
ATR Time Frame 60
ATR TP multiplier 2.0
ATR SL multiplier 4.0
My problem is that when the trades are placed by HGB the distance from the entry point to SL is correct, but the distance to TP is the same as the SL, should be half of it. Example 60 pips SL, 30 pips TP for a 2 to 1.
Am I doing something wrong on the settings?
Thanks in advance for your advice and have a great day.
Code: Select all
MainTradeTakeProfit = (GetAtr(Symbol(), AtrTimeFrame, AtrPeriod, 0) * factor) * AtrSlMultiplier;Code: Select all
MainTradeTakeProfit = (GetAtr(Symbol(), AtrTimeFrame, AtrPeriod, 0) * factor) * AtrTpMultiplier;- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Holy Graily Bob
Thanks again zader.zader » Wed May 06, 2015 6:28 am wrote:
This looks like an error on line 1532 in the CalculateTakeProfit()should beCode: Select all
MainTradeTakeProfit = (GetAtr(Symbol(), AtrTimeFrame, AtrPeriod, 0) * factor) * AtrSlMultiplier;change it yourself or wait for Steve to check the fix and update the version in post 1.Code: Select all
MainTradeTakeProfit = (GetAtr(Symbol(), AtrTimeFrame, AtrPeriod, 0) * factor) * AtrTpMultiplier;
Fix in V 1j in post 1, for the codephobics.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
Pipstubborn
- Trader
- Posts: 272
- Joined: Thu Jul 12, 2012 5:17 pm
Holy Graily Bob
Hi Zader & Steve,
I fixed myself and is working good.
Thank you very much for the update Steve and thanks Zader for your prompt reply. Your inputs are invaluable.
What a great team we have in this forum
Have a great day guys and girls.
Pipstubborn
I fixed myself and is working good.
Thank you very much for the update Steve and thanks Zader for your prompt reply. Your inputs are invaluable.
What a great team we have in this forum
Have a great day guys and girls.
Pipstubborn
- TonkaTuff
- Trader
- Posts: 74
- Joined: Wed May 01, 2013 6:30 am
- Location: Sydney, AUSTRALIA
Holy Graily Bob
Hi All,
Sorry for the lack of comms around the platforms running HGB, I went on holidays and the connectivity I organised didn't exactly work, so have been off the air for 3 weeks!!! I'm back now and ready to get into it!!! The 4 platforms I left running seem to have done not much until yesterday. It also looks like a new version of HGB has been published.
So, Steve, what would you like me to do with the platforms??
- Continue as it?
- Apply v1h OOTB and restart from Monday??
- Apply v1h with different settings and restart from Monday?
- ??
Cheers,
TT
Sorry for the lack of comms around the platforms running HGB, I went on holidays and the connectivity I organised didn't exactly work, so have been off the air for 3 weeks!!! I'm back now and ready to get into it!!! The 4 platforms I left running seem to have done not much until yesterday. It also looks like a new version of HGB has been published.
So, Steve, what would you like me to do with the platforms??
- Continue as it?
- Apply v1h OOTB and restart from Monday??
- Apply v1h with different settings and restart from Monday?
- ??
Cheers,
TT
In theory, there is no difference between theory and practice. In practice, there is.
-
jiaxingx
- Trader
- Posts: 43
- Joined: Fri Jun 22, 2012 10:45 am
Holy Graily Bob
line 2174 : void SendPendingMultipleBuyTrades(double price, string comment, string TradesAllowed)
may be change to
void SendPendingMultipleBuyTrades(double price, string comment, int TradesAllowed)
may be change to
void SendPendingMultipleBuyTrades(double price, string comment, int TradesAllowed)
