Anybody coded an open trade manager?
Forums › ProRealTime English forum › General trading discussions › Anybody coded an open trade manager?
- This topic has 64 replies, 6 voices, and was last updated 2 years ago by Berwick.
-
-
05/22/2022 at 12:53 PM #193654
Berwick, piece of cake. I am serous. Oh wait, maybe not for everybody.
But there’s a but :
At 60 lips in profit move stop to +16 and close 25% of the trade
This part is what I personally don’t have under real control. This is related to the gain as PRT reports it, not being reliable or just not working. Or better said : the Backtesting shows this differently than reality. So how to test it. I spent a couple of posts with examples on this, maybe 6 months ago.
In other words : everything with accumulating positions (“de-cumulating” just the same) can not really be tested. And oh, I have my own code for that (read : in practice I can do it) but I still can not test it. Thus it can’t be held against a reality in advance and with that it can not be properly optimised. And then in other words :At 70 pips in profit start trailing stop at 30 pips
*that* part would now fail (because the 70 pips can’t be determined properly).
And then there’s also the Spread involved which the Backtesting engine of PRT does not incorporate anyway (for others : the PositionPerf variable) – mind you when accumulating, spread is in order again – and all becomes a soup. Again, my code will cope, but it again can’t be decently backtested.
So yes, I do these things (about your “steps”) but the base to do it may not be based on pips or points but otherwise.We can also turn my stance backwards : It may easily be noticed that many people will say “but Peter, this is not an issue !”. Then fine, because they can do it (for you).
The general answer to your question would definitely be : Yes, Prorealcode can do this all.
05/22/2022 at 6:01 PM #193672A piece of cake? Maybe for you, but definitely not for me!
I am not enthusiastic about backtesting/optimisation, I would prefer to try it on a demo account at normal stakes (I do not know if this is possible with IG/PRT), or alternatively to try it live with very small stakes. If the coding is easy (for you), then I would expect the software to be fairly robust so not a big risk to try live. After all, the object of testing would not be profitability but just to test that it does what you tell it to do.
It will be interesting to see if there is any interest from PRT.
05/22/2022 at 6:19 PM #19367505/22/2022 at 7:34 PM #193682I would prefer to try it on a demo account at normal stakes (I do not know if this is possible with IG/PRT),
I think you just answered the question yourself in the last post ? But Yes, possible. Also with less normal stakes. 🙂
And a “normal” CFD account.Re the piece of cake : I think I said “not for everybody !”. Maybe only for a happy few would be more realistic ?
But you ask others to code it for you anyway, so Yes, possible. Technically that is. If you can’t find anyone to do it, it is not-so-much-possible.If you observe today’s postings and questions about something to code for him/her (I counted a few), you will see later that someone will answer upon those questions and that it actually usually will be RobertoGozzi who jumps on it. Not that I invite him to to it in this case (he might get crazy of all those requests), but it also depends on what you actually ask and whether it is clear what to do. But please keep in mind that it all can-not be about responsibility for the working. It is all about helping you to get on track. Next you could try it on Demo (-account).
PS: People will rarely see code examples from me, because I don’t have time to create them and copy-paste from what I have leads to “too much” always. Example of that : your pips vary by the currency rate to begin with (assumed you talk Fx with “pips” as such). My pips won’t vary because of all the hoopla around it which is unnecessary for you because you don’t ask for it. Meanwhile my copy-paste won’t work because 9 of 10 lines of code would be irrelevant to you.
What about using MT4 + VTC ?
Oh – oops.
What’s actually so crap about MT4 ? (no need for an answer but as a die-hard PRT user it may be interesting to know)
And would my implied downsides actually be solved by the MT4 + VTC combo ?05/23/2022 at 10:37 AM #193697Peter,
Not CFD’s but Spread Betting (only legal in the UK I think).
Not FX, only indices for me, FTSE100 and DAX40.
MT4 charts are poor (in my eyes) compared to PRT, and also very clunky to use, for example when configuring an indicator you have to close the dialogue box to see the result of your change, in PRT the changes are dynamic on the chart as you enter them. Having said that, the MT4/VTC combination does work.
05/23/2022 at 11:00 AM #193701What you could do :
Open a new topic and ask whether please someone an help you code what you already described, but with a new to the point description, especially with the “manage” thing left out. Thus no Manual starting and such. Just the strategy as you have it in mind, which always starts with a Limit order (this is crucial for what you want for real).
Something should come from this and it will be to play with for you, although you won’t be able to play really. But regarding this, you are together with 1000+ others who operate the same or at least attempt it.
Without you further asking, I will do the part of the manual start, the strategy taking over. Or GraHal, or us both.
As I already told, what you want for the Strategy itself is not for everybody. But I still think something will come from it. The example in itself is a nice challenge and others may like it too (especially if it shows good results – and No, I did not think about that at all; that’s your job).
No need to follow this advice; it’s just an idea to get you going.
05/23/2022 at 11:21 AM #193702Peter, so you are suggesting that I open a new topic (in ProOrder support?) asking if anyone would be prepared to code a system that opens a trade at a levels that I have entered in the early morning and deals with this trade in the way that I set out in my post at 11:35am yesterday, have I understood you correctly?
05/23/2022 at 11:39 AM #193703Almost : leave out the levels you entered early in the morning. I will add that part to it once something is there (see 1st bullet point below).
So your asked for system will be something like this :- when the price changed with 50 points in either direction on this day, open a trade in that direction of 10 contracts (or whatever suits you). This is the part I will replace and I will practice it for real.
- [here your remainder of the steps and when the trade should be closed etc.]
- Stop trading when the position is closed (or have the remaining position closed at the end of the day – whatever you want).
Mention the instrument you want to trade and make the 50 points realistic (e.g. fine for Nasdaq/DAX, a bit too much for S&P500). It is not important at the end (because it won’t be used) but the person(s) coding this for you should have a realistic example.
Yes, in ProOrder support.
05/23/2022 at 11:49 AM #19370505/26/2022 at 5:56 PM #193896Hello
I think what you are looking for looks like this?
https://market.prorealcode.com/product/trade-manager-for-prorealtime/05/26/2022 at 6:34 PM #19390205/26/2022 at 10:31 PM #193910Hum,
at the beginning you search that and pending order…
« Hi,
Does anybody know of a PRT trade management tool, one that can perform basic operations for open trades such as setting initial SL and TP, stepping stops, trailing stops and stepping partial closes? »
05/26/2022 at 11:59 PM #193914at the beginning you search that and pending order…
Not your fault, unless you are part of the gang that created something for the occasion.
Of course you have seen that this was created yesterday, the 25th, right ?I am known to trust about nothing from the Market Place – this comes all with reasons. The vendor you referred to was already in my Suspicious Book.
05/27/2022 at 1:13 AM #193915https://www.prorealcode.com/topic/the-best-strategies-of-prorealcode-backtest-update/
Isn’t that the same who launched this topic but never contributed anything in the interests? A new Swede?
05/27/2022 at 11:23 AM #193956Peter,
i think it takes more time than 2 day’s to do.
They don’t wait to read about a topic to sell a product…
They have ideas and programmes.Everyone is free to buy it or not
And of course it is always possible to program it yourself.cheers
arnaud
-
AuthorPosts
Find exclusive trading pro-tools on