• Sign up >>

Requests & Ideas - page 212

Mladen Rakic
162715
Mladen Rakic  
Hermo:
Good morning,

I have an idea that could be a little wired, but maybe can be useful. What do you think about calculate the velocity that a bar is creating? I mean, calculate the number of pips one bar is created. Is something existing on this field?

I don't know if this is interesting or not..but is an idea I get for renko bars. Depends of time on creating a renko bar, could be important enter into market in this direction or not. What is your opinion on that?

Thank you in advance!

Hermo

Renko bars are not standard charts and they depend on the software that generates it. It means, it depends 100% on how some software generates those chart. Your idea might work on one version of renko chart and will not work on another simply because the charts are not standardized and we can not count that all the properties will be the same

PS: what is sure is that it is not possible to reconstruct the time for bar generation from past data under the 1 minute time resolution (metatrader does not have tick data that would allow that)

Hermo
383
Hermo  
mladen:
Hermo

Renko bars are not standard charts and they depend on the software that generates it. It means, it depends 100% on how some software generates those chart. Your idea might work on one version of renko chart and will not work on another simply because the charts are not standardized and we can not count that all the properties will be the same

PS: what is sure is that it is not possible to reconstruct the time for bar generation from past data under the 1 minute time resolution (metatrader does not have tick data that would allow that)

Thank you mladen,

Ok, I get it. Is it a good idea do it for regular chart? With a normal price (without renko bars..) or do you think it's useless?

Thank you again!

Hermo
383
Hermo  
mrtools:
Hello Hermo, This is an updated version of your EA am confident it will work correctly on offline charts, have been testing it and it seems fine, big THANKS to Mladen to fixing Concentrated was able to change the indicator calls from that EA and use yours indicator calls.

Good afternoon mrtools:

As always please apologize my English.

Look at the picture, there were two operations in the same candle, although correct system operation, it should not produce.

You can change the system so that this does not occur.

Thank you very much.

Regards

Hermo

Files:
gbpnzd-m2.png 106 kb
Mladen Rakic
162715
Mladen Rakic  
Hermo:
Good afternoon mrtools:

As always please apologize my English.

Look at the picture, there were two operations in the same candle, although correct system operation, it should not produce.

You can change the system so that this does not occur.

Thank you very much.

Regards

Hermo

Hermo

Is AllowOnlyOneActiveTrade set to true and what are the settings for bar and vol.barToUse parameters?

Also, did you get disconeceted at any time (no connection message) from your broker (as I remeber you once had an invalid account error and that can happen only if a broker invalidates (expires) your account while you are working - maybe you were getting disconected while working too). That you can check in the log file

Hermo
383
Hermo  
mladen:
Hermo

Is AllowOnlyOneActiveTrade set to true and what are the settings for bar and vol.barToUse parameters?

Also, did you get disconeceted at any time (no connection message) from your broker (as I remeber you once had an invalid account error and that can happen only if a broker invalidates (expires) your account while you are working - maybe you were getting disconected while working too). That you can check in the log file

Good afternoon mladen:

Excuse my English please.

Deputy all requests, if you need anything else let me know.

Thank you very much for your attention.

Regards

Hermo

Files:
gbpnzd-m2_1.png 128 kb
1.png 75 kb
2.png 232 kb
Mladen Rakic
162715
Mladen Rakic  
Hermo:
Good afternoon mladen:

Excuse my English please.

Deputy all requests, if you need anything else let me know.

Thank you very much for your attention.

Regards

Hermo

Hermo

Only now saw that it was one order opened then closed and then a new order was opened on that same order. If I understand correctly you want to allow only one order opened per bar. The problem with renko charts is that in your case it "pretends" to be a 2 minute chart and that way it artificially "tells" to the EA that the bar duration is 2 minutes. Changed the code and as far as I see it should work OK on renko chart too now

Also one option is activated now : the AllowMultipleTradesOnBar. If it is set to true, it will allow multiple orders on the same bar (what happened to you). If it is set to false (default) then it will disable multiple orders on the same bar (opened - if an order was closed on a certain bar and it was opened on another bar it will allow that - it is done so in order to allow orders CloseOnTrendChange option is set to true otherwise it would not be possible to do that). Try it out

Files:
hermo_ea.mq4 41 kb
Hermo
383
Hermo  
mladen:
Hermo

Only now saw that it was one order opened then closed and then a new order was opened on that same order. If I understand correctly you want to allow only one order opened per bar. The problem with renko charts is that in your case it "pretends" to be a 2 minute chart and that way it artificially "tells" to the EA that the bar duration is 2 minutes. Changed the code and as far as I see it should work OK on renko chart too now

Also one option is activated now : the AllowMultipleTradesOnBar. If it is set to true, it will allow multiple orders on the same bar (what happened to you). If it is set to false (default) then it will disable multiple orders on the same bar (opened - if an order was closed on a certain bar and it was opened on another bar it will allow that - it is done so in order to allow orders CloseOnTrendChange option is set to true otherwise it would not be possible to do that). Try it out

Thank you so much mladen.

I'll check results and I'll expose them.

Have a nice time

Hermo

rosalieone
193
rosalieone  

Divergence

Dear Mladen,

Could you add divergence on this indicator ?

Best regards

Mladen Rakic
162715
Mladen Rakic  
rosalieone:
Dear Mladen,

Could you add divergence on this indicator ?

Best regards

rosalieone

Here you go. Divergences added to it

rosalieone
193
rosalieone  

Thanks a lot, seems efficient.

Your name is not Mladen, its

mladen:
rosalieone Here you go. Divergences added to it
Files:
speedy.jpg 9 kb