V 1l is in post 1, in response to this post viewtopic.php?p=171864#p171864
Read the post before downloading the update - it will not be relevant to many of you.
Desky. TDesk's trading drone.
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
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. [email protected] 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. [email protected] 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.
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
SteveHopwood » Sun Jan 17, 2021 11:18 am wrote:
V 1m is in post 1.
Alex (biobier) emailed yesterday with a bug spot that stops the trailing and jumping stop functions from working except on certain pairs.
It is an easy DIY:
- Go to: void jumpingStopLoss(int ticket).
- Scroll down a few lines to double sl = OrderStopLoss();
- Insert this code underneath:- Go to: void trailingStopLoss(int ticket) (next function down)Code: Select all
//This next line fixes a bug spotted by biobier. Thanks Alex. double point = SymbolInfoDouble(OrderSymbol(),SYMBOL_POINT);
- Repeat the insertion.
- Go back to the top of: void jumpingStopLoss(int ticket)
- Do a search and replace, replacing "Point" with "point". There are two instances in each function.
Thanks Alex.
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. [email protected] 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. [email protected] 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.
-
- Posts: 5
- Joined: Wed Apr 29, 2020 5:43 am
Desky. TDesk's trading drone.
Excuse me, do you have this problem? thank you
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
Somewhere, somehow, Desky is calculating an order size the broker cannot accept. I have no idea how, where or why.kaiserchen0811 » Thu Mar 18, 2021 6:15 pm wrote:Excuse me, do you have this problem? thank you
Keep your fingers crossed that this is an anomaly. I am.
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. [email protected] 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. [email protected] 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.
- tomele
- Administrator
- Posts: 1166
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Desky. TDesk's trading drone.
As far as I know, possible reasons for Error 4107 are:
1. You are backtesting: Won't work anyway
2. Your account is FIFO: Set MustObeyFifo to true
3. Your broker is ECN: Set IsGlobalPrimeOrECNCriminal to true
4. Your broker is bollocks: Switch to Global Prime (you should anyway)
As Steve wrote, it is your personal anomaly. If we would have had it as a general problem on GP demo or live accounts, it would have been discussed and fixed long ago.
1. You are backtesting: Won't work anyway
2. Your account is FIFO: Set MustObeyFifo to true
3. Your broker is ECN: Set IsGlobalPrimeOrECNCriminal to true
4. Your broker is bollocks: Switch to Global Prime (you should anyway)
As Steve wrote, it is your personal anomaly. If we would have had it as a general problem on GP demo or live accounts, it would have been discussed and fixed long ago.
Happy pippin, Thomas
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate
-
- Posts: 5
- Joined: Wed Apr 29, 2020 5:43 am
Desky. TDesk's trading drone.
tomele » Thu Mar 18, 2021 7:56 pm wrote:As far as I know, possible reasons for Error 4107 are:
1. You are backtesting: Won't work anyway
2. Your account is FIFO: Set MustObeyFifo to true
3. Your broker is ECN: Set IsGlobalPrimeOrECNCriminal to true
4. Your broker is bollocks: Switch to Global Prime (you should anyway)
As Steve wrote, it is your personal anomaly. If we would have had it as a general problem on GP demo or live accounts, it would have been discussed and fixed long ago.
Changed Global Prime, the problem remains。
thank you
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
Still don't know and still don't care.kaiserchen0811 » Thu Mar 18, 2021 8:53 pm wrote:
Changed Global Prime, the problem remains。
thank you
There comes a point when an unpaid coder of a monumental piece of coding says,"You know what?I have done the best i can. Piss off and play elsewhere if what my FREELY OFFERED AND MONUMENTALLY CODED OFFERING is not good enough for you.
And that is before we ask for your setfiles and discover that it is something moronic that you have been doing. And when we discover that you are a moron disclaim, "Moron"?
Now. I am not saying that there is nothing wrong in DEsky's code. I am telling you AGAIN that I cannot find it.
I will mention that you are the first person to bring this to our attention. Did you ever consider that you have buggered up a monumental piece of coding that nobody else has managed to bugger previously?
Or that you might merely be an idiot?
Shut up or I will ban you. One more idiotic post and you are done.
Coders, as usual sing out if you spot anything I have missed.
Moron, do not take comfort from that last para. You are always one imbecillic post away from a ban.
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. [email protected] 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. [email protected] 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.
- Weyk
- Trader
- Posts: 42
- Joined: Mon Apr 10, 2017 3:53 pm
Desky. TDesk's trading drone.
Something weird going on here. Set file has SendImmediateMarketTrade = true. SendPendingTrades=false but grid trading is enabled. Do you need grid trading with 0 pips distance between trades? Type of grid is 1 and this means limit orders and you have problem with them. Try increasing pip distance between trades. Alternativly consider disabling grid trading and use sendpendingtrades. On the other hand you have atr enabled so it should be good. If it works then the problem maybe is in the way grid function works... Make sure you understand all the settings. Try different settings to pinpoint where is the problem. By posting just a pic when you didn't do much troubleshooting what answer did you expect on this forum? lol Don't be disappointed by the aswers you get here sometimes you get some verbal slaps but this is how it is here.kaiserchen0811 » 18 Mar 2021, 23:53 wrote:tomele » Thu Mar 18, 2021 7:56 pm wrote:As far as I know, possible reasons for Error 4107 are:
1. You are backtesting: Won't work anyway
2. Your account is FIFO: Set MustObeyFifo to true
3. Your broker is ECN: Set IsGlobalPrimeOrECNCriminal to true
4. Your broker is bollocks: Switch to Global Prime (you should anyway)
As Steve wrote, it is your personal anomaly. If we would have had it as a general problem on GP demo or live accounts, it would have been discussed and fixed long ago.
Changed Global Prime, the problem remains。
thank you
Cheers,
Weyk
If you put your mind onto something sooner or later it will come up with the solution.
-
- Trader
- Posts: 72
- Joined: Mon Mar 18, 2019 7:24 am
Desky. TDesk's trading drone.
The UI info line when using BE with UseAtrBEis not correct as it showed still the pips setting.
My attempt for a fix:
Also it would be good to have an option to select the ATR period when using ATR based SL TP:
After line
insert:
Then search for ATRPercent and replace the PERIOD_D1 with SLTPATRTF.
Since we are on it Jumping Stop ATR based pips:
New inputs:
After line:
Insert:
My attempt for a fix:
Code: Select all
if (UseBreakEven)
{
if (UseAtrBE)
text = "Break even set to "+ DoubleToString(AtrMultiplierBE*100,0) + " ATR(" + IntegerToString(AtrPeriodBE) + ","+ IntegerToString(AtrShiftBE) + ") at " + EnumToString(AtrTimeFrameBE) + ".";
else
text = "Break even set to " + IntegerToString(BreakEvenTargetPips) + " pips. ";
if (!UseAtrBE && BreakEvenTargetPips > 0)
text = text + "Locking in " + IntegerToString(BreakEvenTargetProfit) + " pips profit at BE.";
SM(text + NL);
}//if (UseBreakEven)
After line
Code: Select all
extern SLTPStrategies SLTPCalcMode=ATRPercent;
Code: Select all
extern ENUM_TIMEFRAMES SLTPATRTF=PERIOD_D1; //SLTP ATR TF
Since we are on it Jumping Stop ATR based pips:
New inputs:
Code: Select all
extern string atrj="-- ATR jumping stop loss --";
extern bool UseAtrJS=false;
extern ENUM_TIMEFRAMES AtrTimeFrameJS=PERIOD_D1;
extern int AtrPeriodJS=14;
extern int AtrShiftJS=0;
extern double AtrMultiplierJS=1;
Code: Select all
double JSWidth=jumpingStopPips/factor;//Thomas
Code: Select all
//ATR JS
if (UseAtrJS)
{
double val = getAtr(OrderSymbol(), AtrTimeFrameJS, AtrPeriodJS, AtrShiftJS);
JSWidth = (val * factor);
JSWidth*= AtrMultiplierJS;
}//if (UseAtrJS)
- SteveHopwood
- Owner
- Posts: 9754
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Desky. TDesk's trading drone.
V 1q is in post 1 folks. Please see the thread I am developing at viewtopic.php?p=172472#p172472 for details.
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. [email protected] 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. [email protected] 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.