Giuliano
243
Giuliano  

Trade Emulator

Hi everyone, how are you?

I looking for someone that can post a MT4 function for Trade Emulator.

I mean a code that I can use in an EA for Stop the real trade activity after X negative trade and restart the real trade activity after Y positive trade make in emulation mode.

Thanks.

Bolla

smeden
320
smeden  

Exit Helper EA MT4

Hi

I am looking for some help programming an exit helper.

This will be perfect for semi automatic trading.

Enter by yourself and let the EA exit for you.

This was what I have in mind.

Exit EA with these functions.

1. Exit when it hit the Price channel. / If I trade on 1H and I am in a buy trade I want to exit on the high of the last ex. 10 bars. (And the opposite for sell).

This is the code for the high/low (Just to show what I mean).

double dLow=Low[Lowest(NULL,0,MODE_LOW,10 ,1)]; // This is for exit sell trades

double dHigh=High; // This is for exit buy trades

2. Take profit

3. Hard stop / I trade with neuimex and they only allow a stop loss/take profit 20 pips from the price.

So it would be great if it did not make a order with stop loss/take profit but just exit when the target is hit.

4. Trailing stop

I have to enter the trade manually.

Can some one help program this.

This could help us relax when we are trading.

Take Care

Smeden

67-17454
127
67-17454  

Identifying Market Opens/Closes

With the help from various sources, I've put together this Indicator that makes a vertical line when a markets open and close. You can also pick which markets you're interested in.

Inputs:

Whether you want to mark the NY, London, Auckland, Sydney, Tokyo, or Hong Kong openings

30MinAdvanceNotice - setting this to true will put a dashed vertical line up 30 minutes before openings and closings to give you a heads up they're on their way

DataTime - there are several different times that MT4 data providers use (e.g. Alpari, FXDD). This is when the openings occur from your data vendor. For example, in the summer with FXDD, NY opens at 1500 (GMT+7). But with Alpari, it's 1600.

Color for the vertical line.

It's not programmed in the most efficient way, but it's effective and helps me to know as markets are opening and closing.

Any cleaning up or improvements welcome.

MarkC.

Files:
mmktopen.mq4 7 kb
aleksd
47
aleksd  

TakeProfit EA HiLoTradeAway - interesting EA

Any one have a idea how it works. I cant find any info about it.

FXGamer
13
FXGamer  

Expert Advisor Indicators Screwy?

I have used several indicators for exit strategies in my EA's but none seem to cause the order to close. I placed print statements into the code to see what values it was calculating and they dont match the chart at all. I started using custom indicators but the tried some that are within MT4 and still get the same results. Because of this, the only close of any trade is a stoploss or a takeprofit.

Has anyone else experienced this behavior?

SimonFX
11
SimonFX  

Need help with Jurik cross

Hi All,

I would like to check Jurik MA cross for one of my experts,

JmaFast =iCustom(NULL,PERIOD_H1,"JMA",7,0,0,0);

JmaSlow =iCustom(NULL,PERIOD_H1,"JMA",14,0,0,0);

Not so sure about it, as it doesn't seem to react as it should be.

Please your help with the coding

Thank you

orquin
3
orquin  

Dtosc For Mt4

Hi Programmers!

Anybody can help me convert this indicator to MT4? . Thanks very very much!

================================================== ====

IS THE DTOSC (DYNAMIC TRADERS OSCILLATOR) THANK YOU.

THE FORMULA FOR METASTOCK IS:

DiasRsi:=Input("Dias Calculo RSI",2,100,21);

DiasSto:=Input("Dias Calculo Estocastico",2,100,13);

MediaStoRsi:=Input("Dias Media StochRSI",2,100,8);

MediaMediaStoRsi:=Input("Dias Media de la Media",2,100,8);

STRSI:= ((RSI(DiasRsi) - LLV( RSI(DiasRsi), DiasSto)) / ( HHV(RSI(DiasRsi ), DiasSto) - LLV(RSI(DiasRsi ), DiasSto) ))*100 ;

Senal1:=Mov(STRSI,MediaStoRsi,S);

Senal2:=Mov(Senal1,MediaMediaStoRsi,S);

Senal1;

Senal2;

80;

20;

colnc
40
colnc  

Help with alert

Can somebody help me by creating an audible alert for the BykovTrend_Sig? Or if there is already one out there can you post it here? I am not a programmer by any means so help is greatly appreciated. My charts are the EUR/USD 5 minute charts and the signal settings are RISK 25 and SSP 20. I'm also using MT4.

THANK YOU!

increase
1199
increase  

Is there an indicator that is similar to Mataf Trend Indicator

I had a look but could not find anything, probably under another name

Mataf Trend Indicator

increase
1199
increase  

elliot wave retracement finder?

Don't ask me? but I found this whilst searching for something else, but it looks very interesting

Files:
elliot.doc 172 kb