| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I finally managed to get new version up and running (I've been testing and picking settings for all pairs up till this moment from friday. Its been a tough weekend for me)
You'll find new login details in the first post. You'll find new version in the first post later today. The biggest improvement - I've coded all the settings into the EA. You just attach the EA to one of pairs and it picks settings for itself by itself. Just don't change anything. Or you can take it and run like 3 days of backtests (I generated 20 gigabytes of data while backtesting) and then you'll certainly get better data. I'll be forward-testing this specific EA for the next 2 months (some pairs need a lot of time to generate any profit) and after 2 months I'll be able to tell if it really works. There may be few pairs that are good to trade and few that are bad to trade using this strategy. Anyways don't expect any major updates during next 2 months. And it will only work with brokers that use standard currency names like EURUSD and USDJPY (if there is m in the name, it won't work and you'll have to pick settings yourself!). Don't go with this to a live account, its just a suggestion that is being tested. Also if you are going to test this as well, use Alpari MT4. I cannot guarantee work with any other MT4. To work with more than 1 currency pair, attach the EA to exact currency pair. The EA picks settings for the pair automatically (if you didn't change anything). The database contains settings for 23 pairs (excluding the very new ones) for Alpari MT4.
__________________
MQL4 programming is easy ^^ |
|
|||
|
I'll post updated information in the first post on a daily basis.
If you get any ideas how to upgrade the system (if you think of any good entry signal, I'll add a trailing stop) post them here.
__________________
MQL4 programming is easy ^^ |
|
|||
|
margin percent indicator?
On FXCM, Usable margin % is calculated by free_margin/equity. It is a percent between 0 and 100. On metatrader (through interbankfx at least) the margin level % is calculated differently. I am trying to create an indicator or something that will display the usable margin % calculated like fxcm does. I have created an indicator that will show the usable margin % on a chart but I am having trouble determining if it is updating in real-time correctly. I was wondering if my code was correct for it to keep updating the usable margin % in real time regardless of the time frame of the chart the indicator is attached to. (I've also been curious if anyone else has made something like this.)
Thanks Code:
#property indicator_chart_window
//---- input parameters
extern int decimals=6;
extern int Text_Size=10;
extern color Text_Color=White;
extern int X_Distance=10;
extern int Y_Distance=20;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
int iBarsToCalc = Bars - IndicatorCounted();
if (iBarsToCalc < Bars) iBarsToCalc++;
// Iterate over bars
for (int i=iBarsToCalc-1;i>=0;i--) {
double free=AccountFreeMargin()/AccountEquity()*100;
ObjectCreate("comment_label",OBJ_LABEL,0,0,0);
ObjectSet("comment_label",OBJPROP_XDISTANCE,X_Distance);
ObjectSet("comment_label",OBJPROP_YDISTANCE,Y_Distance);
string words = "Usable Margin: "+DoubleToStr(free,decimals)+"%";
ObjectSetText("comment_label",words,Text_Size,"Arial",Text_Color);
WindowRedraw();
}
//----
//----
return(0);
}
//+------------------------------------------------------------------+
|
|
||||
|
Margin Call Indicator/Code Needed
Does anyone have an indicator that will show your brokers Margin Call level 20% or Stop out Level 10% have a look http://www.liteforex.org/accounttypes.php
(I don't use them it's just and example) I was thinking that if we could create some sort of indi or code that could show this it might help reduce account being blown up as I would think that most people will not know at which level they might get a margin call. Anyway just thinking out loud. Cheers Beno |
|
||||
|
Here is a 7-year backtest, that became a 2-year backtest because it burned the account.
40sl and 40tp. GbpUsd. I coded this EA myself. On InterbankFX. I'll even be nice and start with $5,000 deposit. That's a lot of money! Tick Data $20,000 drawdown
__________________
God Bless Everyone, and their trading logic. |
|
|||
|
hi
Quote:
is there anything wrong with that EA ? =================== Forex Indicators Collection |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ToR 1.02 - Trending or Ranging | nittany1 | Indicators - Metatrader 4 | 147 | 11-28-2008 07:46 PM |
| Trending Pairs | dit | General Discussion | 6 | 07-21-2007 04:29 PM |
| Consolidating or trending | FXBabe | Metatrader 4 | 3 | 07-17-2007 01:00 AM |
| Ranging Vs. Trending | marcf | General Discussion | 3 | 04-10-2007 08:47 AM |
| Best Trending Currencies | WannaBeATrader | Questions | 7 | 06-23-2006 08:36 PM |