You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Excellent!!!!
Look now ! Michel
This routine closes the biggest loss, might be an alternative to get rid of the floating orders. feel free to implement it!
extern int CloseOrdersPerWeek =5; // 0-5, close most loosing position, 5 = each day one
extern int MaxLoss =-5; // $$
//+------------------------------------------------------------------+
void TimeClose()
{
double Order_Profit=0;
if( Hour()>=12 && Hour()<13
&& Minute()==1
&& DayOfWeek()>0 && DayOfWeek()<6 && DayOfWeek()<=CloseOrdersPerWeek
&& DayOfWeek()!=DayOfWeekDone )
{
DayOfWeekDone=DayOfWeek();
for (int y = 0; y < OrdersTotal(); y++)
{
OrderSelect (y, SELECT_BY_POS, MODE_TRADES);
if (OrderMagicNumber() == magic && (OrderType()==OP_BUY || OrderType()==OP_SELL))
{
if (OrderProfit()< Order_Profit) // only negative
{
int Ticket=OrderTicket();
Order_Profit=OrderProfit();
}
}
}
// Print (Order_Profit,DayOfWeek());
OrderSelect (Ticket, SELECT_BY_TICKET, MODE_TRADES);
if (OrderType()==OP_BUY && OrderProfit()< MaxLoss)
{
if (OrderClose(Ticket,OrderLots(),Bid,Slippage,Black))Print ("BUY order closed, P/L = "+OrderProfit());
else Print ("Order close error: "+GetLastError());
}
if (OrderType()==OP_SELL && OrderProfit()< MaxLoss)
{
if (OrderClose(Ticket,OrderLots(),Ask,Slippage,Black))Print ("SELL order closed, P/L = "+OrderProfit());
else Print ("Order close error: "+GetLastError());
}
}
return(0);
}
//+------------------------------------------------------------------+Hi everybody
This method simply doesn't work.
In 24 hours we can have floating PL of hundred $$$
Let's you close say a position of ~ -100$ but your profit rate simply can't keep up to compensate loses.
10 day simulation with default settings, 2000$ starting balance, lot=0.01:
With your code:
And default EA without your code:
You are right, it seems that we need a more intelligent method...
Which uses indicators EA?
Hello,
The 14/01, I start a forward test on a demo account with ALPARI (Micro lots)
TF = 15 Min
9 Pairs : EUR/USD GBP/USD USD/JPY USD/CHF USD/CAD EUR/GBP GBP/JPY NZD/USD and EUR/JPY
I join the EA and the SET file.
You can follow the account hour by hour on : Statement: 117540 - PIPMAKER V10-1
MichelHi, I have seen many indicators along the post, but I am confused. Which indicators? Uses exactly this PIPMAKER V10-1 ...
Summary: Start date : 14/01/2007
Deposit/Withdrawal: 5 000.00 Credit Facility: 0.00
Closed Trade P/L: 1 717.21 Floating P/L: -154.11
Margin: 329.96
Balance: 6 717.21
Equity: 6 563.10
Free Margin: 6 233.14
Not bad
Michel
Statement: 117540 - PIPMAKER V10-1
Help to determine trend
Hello All
Here is a handy indicator to put on your chart to help to determine trend.
I don't know if it could be incorporated into PipMaker..
Yes, is good EA, but have this problem with floating PL.
Sooner or later will crash your account.
Just run a simulation for 3-4 months.
I use this EA to trade live
Hi all,
Thank you all for this EA. I went live with this EA couple of days ago trading the settings that Micheal provided. plus SL/100(I believe in the cut the loss quickly the system will generate more profit).
After seeing many EA's and participating in building several famous ons without any sensible results, I saw potential in this EA and tested it and now trading it on live account with micro lots.
It doesn't need any modification in my opinion(v10), it is a profitable EA. I trade myself for couple of years and have also managed account with FXCM and have followed Galleon too. there are many others systems/EA's in action if you go to fx-performance.com to see their trade history.
This EA has outperform them all in these past months I was testing it. Luckily January was one of the most difficult markets I have seen. the trade results are something similar to the ones that Michel publishes so I won't attach the results.
Good luck everyone and god bless.
Ross.
Yes, is good EA, but have this problem with floating PL.
Sooner or later will crash your account.
Just run a simulation for 3-4 months.Consider 100 Pip SL. It works fine specially if you are trading micro or mini and increase the number of trades to 10 each way. what I did on occasions was to close trades manually when a big opposite move (against the current trend) had just happened. But believe me this EA is very profitable.
Hope it helps.
Ross.
Thank you
Summary: Start date : 14/01/2007
Deposit/Withdrawal: 5 000.00 Credit Facility: 0.00
Closed Trade P/L: 1 717.21 Floating P/L: -154.11
Margin: 329.96
Balance: 6 717.21
Equity: 6 563.10
Free Margin: 6 233.14
Not bad
Michel
Statement: 117540 - PIPMAKER V10-1Michel,
Awesome statement.... A simple yet different idea. Thank you for your contribution.
Nick,