Compuforex Trade Manager
| Přihlásit k tomuto tématu | Předchozí 1 2 Další |
|
Členem od Sep 20, 2009 192 zpráv(a,y)
Ben Scoobert (BenScoobert)
Jul 14 2012 at 09:30
I'd guess open price of the order can be read straight from the order itself. Isn't it the OpenPrice command?
We have two classes of forecasters: Those who don’t know—and those who don’t know they don’t know. J. K. Galbraith (1908–2006) |
|
Členem od Aug 20, 2009 202 zpráv(a,y)
kennyhubbard (compuforexpamm)
Jul 14 2012 at 10:01
Ah, Ok....I think I'm getting the picture now. I was equating the openprice to the current price and the order price to the price that you wanted to make the order at. My bad.
Wealth Creation Through Technology |
|
Členem od Aug 20, 2009 202 zpráv(a,y)
kennyhubbard (compuforexpamm)
Jul 14 2012 at 11:11
Ok, I think it is done. Not much to be done until the markets open and I can do some testing. Once I see that it works, I'll post it on the blog.
Wealth Creation Through Technology |
|
Členem od Sep 20, 2009 192 zpráv(a,y)
Ben Scoobert (BenScoobert)
Jul 14 2012 at 18:59
If I could vouch for you twice I would
We have two classes of forecasters: Those who don’t know—and those who don’t know they don’t know. J. K. Galbraith (1908–2006) |
|
Členem od Aug 20, 2009 202 zpráv(a,y)
kennyhubbard (compuforexpamm)
Jul 16 2012 at 09:56
Thanks Ben, its the thought that counts.....lol.
Anyway, it's up on the blog. Come and get it. Requires testing though. Wealth Creation Through Technology |
|
Členem od Sep 20, 2009 192 zpráv(a,y)
Ben Scoobert (BenScoobert)
Jul 17 2012 at 19:18
Now set up and live, so far so good, I'll keep you posted.
Thanks for your time spent. :-) We have two classes of forecasters: Those who don’t know—and those who don’t know they don’t know. J. K. Galbraith (1908–2006) |
|
Členem od Sep 20, 2009 192 zpráv(a,y)
Ben Scoobert (BenScoobert)
Jul 18 2012 at 20:00
OK, can you explain this?
Sliding TAKEPROFIT function(STP) UD period to wait before taking over trade management; STP takes into account time, as well as price action; TP slides towards price action at UD rate Stoploss is also amended to close in on price action in a pincer type movement(user has choice to turn this off); Note7=--------SLIDING TP SETTINGS------ Use_Sliding_TP = true STP_Wait_Mins = 30 STP_Init_Perc = 50 STP_Decay_Rate = 0.5 STP_Mode_Only = false Init _Perc and Decay_Rate have thrown me, Percentage of what? What the SL was originally? Decay_Rate is a percentage reduction? I turned it on for trialling and ended up with 2 pips TP after the Wait_Mins was up :-D We have two classes of forecasters: Those who don’t know—and those who don’t know they don’t know. J. K. Galbraith (1908–2006) |
|
Členem od Aug 20, 2009 202 zpráv(a,y)
kennyhubbard (compuforexpamm)
Jul 19 2012 at 03:34
(editováno Jul 19 2012 at 03:39 )
When the EA takes over management of a 'bad' trade, it has to start the TP somewhere. This is the Init_Perc(initial percentage). So if you have trade that is 20 pips in the red, it will move the TP to halfway between the open price and the current price ie your TP is set 10 pips above the current price.
The problem here is that over time the price action may continue to move against you, so it is no good for the EA to just follow the price action at a 50% trail. The idea is that the TP will move towards the price action at the decay rate. The rate is % change per minute, so the default of 0.5 will close the trade after 100 minutes(in the worst case). Normally the SL is set by you in the INITIAL STOPLOSS setting. When the STP routine kicks in, you have the option to leave the SL where it is, or move it closer to the price action(SL_Decay). In the latter case, the SL will be positioned the same distance away from the price action as the TP, so as the TP closes in on the price, so does the SL. It will then close in as close as it can considering the stop_levels(still a bug here, so you may see some invalid stop errors but it is not critical). On the screen display, when the Wait_Mins are up, you should see the trade move to the Sliding TP column and it should display the estimated max loss which intially woud be 1.5 x where the trade currently is. The STP function can take over management of a positive trade as well(it does this anyway for trades that have not activated the trailing SL). In the case(STP_Only_Mode), it will set the TP to 50% above the current price and decay it from there towards the price action. Wealth Creation Through Technology |
|
Členem od Sep 20, 2009 192 zpráv(a,y)
Ben Scoobert (BenScoobert)
Jul 24 2012 at 13:57
I found a bug, not sure how it occurred but I have the same trade twice on the managed trades list. Also one missing from the list. If I reset the EA it goes away.
I can do a screenshot if you like We have two classes of forecasters: Those who don’t know—and those who don’t know they don’t know. J. K. Galbraith (1908–2006) |
|
Členem od Aug 20, 2009 202 zpráv(a,y)
kennyhubbard (compuforexpamm)
Jul 24 2012 at 14:35
Hi Ben,
Ok, thanks. Screenshot would help and also if you do happen to notice when it happens, it would be good. Wealth Creation Through Technology |
|
Prosím, přihlašte se pro vložení komentáře.
|
|

Share