Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I would like to ask your help in preventing the situations when DIN_KusKus_EA_v2.4 just closing a trade in profit and places another order at once because the second order frequently closes in loss - please see such situations on the images attached.
I am not a programmer but despite of this tried to set out a snippet of code that is aiming at the prevention the instant placement of a new order on closing the earlier. Would you please check it up and I would like to have your advice on this:
HTML Code:
// Do not open position right on close of the earlier
int i,HsTTotal=OrdersHistoryTotal();
datetime CloseTimeLast = 0;
for(i=0;i<HsTTotal;i++)//---- check order history
{
OrderSelect(i,SELECT_BY_POS,MODE_HISTORY);
if ((OrderSymbol()==Symbol() && OrderMagicNumber() == MagicNumber))
{
datetime CloseTime=OrderCloseTime();
if (CloseTimeLast<=CloseTime)
{
CloseTimeLast=CloseTime;
}
RefreshRates();
if (TimeCurrent() - CloseTimeLast < 3600)
{
Sleep(60000);
}
}
return(0);
}
For some reason I stopped receiving emails from forex-tsd for the past week at least. I am a paying member so I do not know what the problem was but it has been corrected.
I have considered this already. Just a matter of how long to wait before opening a new trade. Maybe one trade per time period would work. So one trade for Asian, one for London and one for NY.
Should this also be done after a loss? The rule would be one trade per session regardless of win or loss. It can be coded to check for win or loss. I can also add that as an option switch. useDelayTradeAfterWin and useDelayTradeAfterLoss.
I have coded this in another EA that had 4 trading periods per day with one trade per period. Just need to find the code or recode from scratch.
A follow up to prior post. Another possibility is to only place a trade if a reverse signal occurs. After a buy only allow sell in same trade session, after sell only allow buy.
Forex-TSD did not send emails either to me during the last couple of days. I think it was a general failure but it has been fixed.
Well, maybe one order per trading period would be right. I would love it if you coded it into the EA with a switch so the user could decide what is the most convenient for him/her.
A follow up to prior post. Another possibility is to only place a trade if a reverse signal occurs. After a buy only allow sell in same trade session, after sell only allow buy.
Robert
Well, this is a solution as well.
The thing is that I had days (or at least one day - as far as I can recall) when there were two profitable trades to the same direction.
That was the problem we talked about long time ago and needs to be sloved !! if a delay was interduced to stop the second trade we will see less losses in DIN, as looking in the way DIN trades or in the history of the DIN backtests we will always see when we have one loss trade it will be followed by another trade.
A delay could be a solution, or maybe one trade per session or if we want more of the DIN then we know that DIN opens one trade when the market conditions are right, why don't we use these conditions to triger a more aggressive EA like 10point3 to make the trades on that session. Mainly start 10point3 and stop it bases on the sell or buy signals from the DIN ? is that possible ?
I am still testing the DIN but what I have noticed is what I said above :
1- When we lose one trade its mostly followed by another loss trade due to the fact when DIN close a trade it opens another trade.
2-Its kind of slow waiting for 1 trade per day, and it takes long time to close, so why not use DIN to trigger the 10point3 to enter in the market as buy only or sell only, we know 10point3 makes much more trades so if we know the right market move then we can direct 10point3 to generate profit only ?
having said that I think i owe mrtools an apology as he suggested eariler to use 10point3 with the DIN at start but since I hate 10point3, as its very risky, I shut the door off his face, I am sorry, I was wrong it seems he saw something at the start I did not see... maybe we can make frantacech on the first page come true, by using an aggressive trading system like 10point3 with the signals generated from the DIN or ISAKAS system !!!
Mrpip did a great job on the DIN but some tweak are required ...
-----------------
Mrpip I send you an email : you never came back to me on the ang_autchCh indicator ?
Another equest since no one is asking for anything ...
Can we use the news indicators to avoid trades insted of the market trading hours ? ... some of the trades are opened during the news and it takes ages for those trades to close, when using pairs like EU/US or GBP/US ? is it possible ?