why ignored? i guess sometimes asian session give clue market movement at european and US session like a EURJPY with EURUSD and GBPJPY with GBPUSD
MT4 Indicator to VT
Is anyone able to program from MT4 to VT language ?
I am very interested in HoursChannel_v1
Would greatly appreciate any help
Does anyone know where I can get a Pyratool in MT4 code? I've seen one in Ensign.
mt4 exp creator
found a link to this on another site....it doesnt have a huge amount of indicators but it does have some custom indicators in there and a custom indicator slot so you can add parameters for what you need ....ENJOY
for mt3 which is this one..only does basic indicators
Simple EA system work in backtest, but dont live ?!
im new here and new in programmiering and i have a problem.
Ife found this EA, and in backtests he "work" very good. But when i test it live, it dont open positions ?! The Trading Terminal options are right......
Can someone help me, or it is a bigger error ?
Here the script:
//---- input parameters
extern double TakeProfit=100.0;
extern double Lots=0.1;
extern double TrailingStop=35.0;
//| expert initialization function |
//| expert deinitialization function |
int Crossed (double line1 , double line2)
static int last_direction = 0;
static int current_dirction = 0;
if(line1>line2)current_dirction = 1; //up
if(line1<line2)current_dirction = 2; //down
if(current_dirction != last_direction) //changed
last_direction = current_dirction;
//| expert start function |
int cnt, ticket, total;
double shortEma, longEma;
Print("bars less than 100");
Print("TakeProfit less than 10");
return(0); // check TakeProfit
shortEma = iMA(NULL,0,30,0,MODE_EMA,PRICE_CLOSE,0); // <-------------------------
longEma = iMA(NULL,0,15,0,MODE_EMA,PRICE_CLOSE,0); //
int isCrossed = Crossed (shortEma,longEma);
total = OrdersTotal();
if(total < 1)
if(isCrossed == 1)
Print("BUY order opened : ",OrderOpenPrice());
else Print("Error opening BUY order : ",GetLastError());
if(isCrossed == 2)
Print("SELL order opened : ",OrderOpenPrice());
else Print("Error opening SELL order : ",GetLastError());
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderType()<=OP_SELL && OrderSymbol()==Symbol())
if(OrderType()==OP_BUY) // long position is opened
// should it be closed?
// close position
return(0); // exit
// check for trailing stop
else // go to short position
Im very happe about help :-)
PS sry for my bad english, im german
Need help with 3 line break indicator, please.
I would like to know if anyone could help me with the three line break indicator. If someone could program it to sound an audible alert and show a visual alert when the bar changes color. Something like "the trend has changed to up" would be helpful. I've tried to do it myself but my programming skills are not up to par. Please, anyone help?
Stepindicator for Williams%
Hi Igorad or others,
First of all Igor I would like to thank you for your great work and the fantastic jpb you did on the whole range of step indicators.
I have a sujestion: If you look to the williams% indicator (default in mt4.0) and you place it on 200 and place a center line on 50 then you will see that it does a very simmilar filtering job as the stepmastoc indicators with a value +/- 1.5 and wich is a good value for filtering (used for great systems as the I_FX_T system on the sbfx forum and the catfx50).
If you place this williams% on your screen you will see that it shift above and bellow the centerline more or less at the same moment as your stepmastoc indicator but sometimes it has that litlle bit of wipsaw.
If you place the williams% indicator on default setting 14 you will see that it has the tendency to stay or in the upper part of the data window or in the lower part of the data window and that were a stochastic can be all over the place.
So maybe in the form of a step indicator it would also be a great indicator and could with a litlle bit of luck do a better job then the stepstoc or stepmastoc indicator(wich do already a great job)
thanks a lot in advance.
Take a look
Hi, Can you please modify this EA for Stoploss and Money management?
Price Movement from previous Bar
I read somewhere price movement data analysis and on that basis i understand that we can develop a very good system.
Concept is very simple.
Pricemovement (+ or -) either side of current bar as compared to previous bar will decide/ triger long /short trade.
For an example, we want to trade long if current price is previous bar close+20 pip, or short if current price is previous close-20 pip.
Either TP 30,/ SL 25,/ Trailing Stop, 15 or close of current bar or Basket Profit.
There is no Stop and reversal entry in same magic #.
We may have some other features also In the EA like
1. option only long/only short both
2. Time Filter trade open time and Close time
3. Day filter
Please enable the necessary setting in your browser, otherwise you will not be able to log in.