Please fix this indicator or EA - page 143

 
rkhan1:
Mr M

I ran his EA with the old MT4 ( 4 digits ) I had some good results .

I kept playing with the magic number , some times it worked and sometime it didn't

I not sure which pair or timeframe this EA is optimized for

If you could fix this

Thanks very much

rkhan1

I can not change ex4 file. Do you have the source code of that EA?

_________________

PS: magic number should not have any impact on the way how some EA is working (unless you use multiple instances of the same EA on the same symbol in which case same magic number can cause a sort of confusion in the way how orders are handled)

 

Mr M

I think this is what your looking for

Thanks

Files:
pc.mq4  5 kb
 
rkhan1:
Mr M

I think this is what your looking for

Thanks

rkhan1

Since it is a decompiled code just some remarks :

1. it is made for 4 digit brokers. Multiply stop loss and take ptoffit by 10 on a 5 digit broker in order to make it work on a 5 digit btroker the same as it was working on a 4 digit broker

2. It will not work on an ECN type broker

 

OK

what about the majic number ?

 
rkhan1:
OK what about the majic number ?

rkhan1

Please read this post : https://www.mql5.com/en/forum/general regarding magic number.

Magic number is simply a number that allows the EA to identify orders opened by itself. It does not change the way how orders are handled in any way

 

OK

Thanks Mr M

I will try it and let you know

by the way is it for a specific pair or time frame

Thanks

 
rkhan1:
OK

Thanks Mr M

I will try it and let you know

by the way is it for a specific pair or time frame

Thanks

No idea. Did not test it or checked that decompiled code more

 

Hi,

can someone please change this indicator so, that the stop is triggert at closed bar?

ea_kijun-sen_stop_v2.mq4

Files:
 
Kamui.:
Hi,

can someone please change this indicator so, that the stop is triggert at closed bar?

ea_kijun-sen_stop_v2.mq4

You can not chose the time when the stop loss is triggered. Stops are like any other order that depend on price and will be triggered when some price is reached

 
Kamui.:
Hi,

can someone please change this indicator so, that the stop is triggert at closed bar?

ea_kijun-sen_stop_v2.mq4

Kamui

techmac is right : only the price determines when will the stop be triggered

Reason: