Daily range and locking trade?

 

Hello guys...

i have some idea to make EA, but a don't know how to do it. Cause i'm not programer.

Can you (programer) do this for me,please?

My idea is basic from average daily range

This is my idea.

TIME FRAME : D1

TIME to ORDER : GMT 0...when day just start and broker open

INDICATOR : MACD 12 26 9

When time is GMT 0 and MACD SIGNAL SHOW UPTREND or SIGNAL < MACD line

place order pending

BUY LIMIT -20pips from open price in that day

SELL LIMIT +10pips from open price in that day

if MACD show us DOWNTREND or Signal > MACD line

place order pending

BUY LIMIT -10pips from open price in that day

SELL LIMIT +20pips from open price in that day

SL for both of order is 50 pips

When both of order have executed, without touch stop loss close all order.

and wait for next day.

only one trade everyday.

if after time gmt 23 only one order executed without touch SL, close it at that time

(close all order at GMT 23)

One more thing...don't trade at monday

ok thats all

thank you very much for your attention and your help

 

hi

indratime:
Hello guys...

i have some idea to make EA, but a don't know how to do it. Cause i'm not programer.

Can you (programer) do this for me,please?

My idea is basic from average daily range

This is my idea.

TIME FRAME : D1

TIME to ORDER : GMT 0...when day just start and broker open

INDICATOR : MACD 12 26 9

When time is GMT 0 and MACD SIGNAL SHOW UPTREND or SIGNAL < MACD line

place order pending

BUY LIMIT -20pips from open price in that day

SELL LIMIT +10pips from open price in that day

if MACD show us DOWNTREND or Signal > MACD line

place order pending

BUY LIMIT -10pips from open price in that day

SELL LIMIT +20pips from open price in that day

SL for both of order is 50 pips

When both of order have executed, without touch stop loss close all order.

and wait for next day.

only one trade everyday.

if after time gmt 23 only one order executed without touch SL, close it at that time

(close all order at GMT 23)

One more thing...don't trade at monday

ok thats all

thank you very much for your attention and your help

interesting system...but have u try this system before ? how about performance .....you said that you're not trade on monday ...why ?

thx

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

Forex Indicators Collection

 

do you have try this system before..

oops ..some ask this bfore ...sorry

 

i use this system about one month

result is not bad...

for 16 trade

2 lose

14 win

But i want to know when this system will be fail with EA

can someone make this EA please?

Don;t trade at monday because there is so many gap at monday

and broker with MT4 platform not open at GMT 0 but 1 hours after.

Thanks for help guys...

 

What Pair do you used

indratime:
i use this system about one month

result is not bad...

for 16 trade

2 lose

14 win

But i want to know when this system will be fail with EA

can someone make this EA please?

Don;t trade at monday because there is so many gap at monday

and broker with MT4 platform not open at GMT 0 but 1 hours after.

Thanks for help guys...

Could you tell us what pair did you use? Is it applicable to all pairs

 

i use GBPUSD...cause this pair volatiler than other. Try it manual in demo, you will see. But if you want you can test it with other pair which have 100-200pips move average. Like GBPJPY. TRY it in demo.

Anybody can help me to make EA with this system?

 

ok ...i think too hard to make this strategy with EA

 
indratime:
ok ...i think too hard to make this strategy with EA

Any strategy can be coded into EA but it should be explained proper way. I try to code it but I need more details.

1. What is the take profit target? Or we just open orders and keep them till end of day?

2. "When time is GMT 0 and MACD SIGNAL SHOW UPTREND or SIGNAL < MACD line" and "if MACD show us DOWNTREND or Signal > MACD line" make the first check (uptrend or downtrend) pointless as SIGNAL is always MACD regardless the trend direction.

 

Ok, here it is.

It can work on any time frame but still use the original once-by-day strategy.

You can try to optimise SL and TP or put TP as 1000 or more and virtually it will be no TP at all. Start it in visual mode on hour-time frame and check if I've done it right (I hope so).

As for me, I tried it on EURUSD and was not impressed by Profit Factor and Expected Pay Off. GBPUSD is even worse...

 

hi timbobo, thanks for your help. i mean it. you are so kind

I have problem with this EA when i try to run it.

i have find out the problem. you can see below.

'TimeCurrent' - function is not defined F:\Program Files\MetaTrader - North Finance\experts\Daily range and locking trade.mq4 (78, 7)

Take profit when all order (sell limit and buy limit) have executed. thats why this system call locking trade.

i use MACD for knowing big trend in daily.

If UPTREND Buy limit -10pips from open price and sell limit +20pips from open price.

if Downtrend Buy Limit -20pips from open price and sell limit +10pips from open price.

only one trade every day.

just thats simple .

regards

indra

 
indratime:
i have find out the problem. you can see below. 'TimeCurrent' - function is not defined F:\Program Files\MetaTrader - North Finance\experts\Daily range and locking trade.mq4 (78, 7)

AFAIK that command was introduced in build 200, so probably you use a bit old version of MT. Try to update it.

indratime:
Take profit when all order (sell limit and buy limit) have executed. thats why this system call locking trade.

You mean close both orders at the moment the second one executed, don't you?

indratime:
i use MACD for knowing big trend in daily. If UPTREND Buy limit -10pips from open price and sell limit +20pips from open price.

Sorry, but still not clear for me - there are several ways to check up or down trend using MACD. Position of SIGNAL line you mentioned before is one of them.

You know, it's a very complicated problem for EA to answer a very simple question - uptrend or downtrend.

Reason: