ONLY CANDLE / BAR - How to catalog or segregate Candle? - PLEASE CORRECT ME! - page 3

 
kronin:

Yes, for 2, 3, 4, 5... agreed. But according to the stories and this one : "I have to write 150 policies and they must walk at the same time on the same graph, and run all the strategies at once. When I run 150 EA at the same time my PC will explode - I think so."
I think he plans to run many strategies more in one EA....

Ah . . . yes,  I remember reading that but not understanding the significance at the time . . .  thanks.
 

Good morning,
Do not correct my code yet but I noticed your reply.
I am very pleased and thank you for your help.
In fact, the beginning of just about 12-16 in one EA strategy (150...- later), there are many important reasons why you better have all the strategies in one EA than each separately. It may be helpful to other people how to build such programs.

I've seen a few different strategies, and many theories about play FOREX, each of them was telling the truth, and each of them was like reading tea leaves grounds
, tea leaves grounds can be installed each time so arrange to speak the truth. Some are funny.
My strategy is completely different more simple and effective.

 
Wodzuuu:

Good morning,

My strategy is completely different more simple and effective.

Until you have an EA to properly test it you don't really know if it is effective or not . . . .  I hope it is :-)
 

Yes you are correct :) but ...

I test meany of smal difrent's  EA, difrent scenario

I konow what is risk and SL and I have it, these is not ride with no handling :) I have small risk. These is only start, basic EA- I konw that I can better

 

 But these is one of meany EA that I build, And I'm not finish it - I have some problem of course :)

 

These is second - it is not work correct - like always :) 

 

these is three

 

 

I'm not done with the code, but I know what is needed to complete the theme.
I need a array where they will be placed tiket number of open positions, then they will be taken to close the appropriate orders. Need two tables for two strategies and two magicnumer. I found similar topics on the forum. Only you have to just piece together.

https://www.mql5.com/en/forum/125602      <<<< its better

https://www.mql5.com/en/forum/45105 

 
Wodzuuu:

I'm not done with the code, but I know what is needed to complete the theme.
I need a array where they will be placed tiket number of open positions, then they will be taken to close the appropriate orders. Need two tables for two strategies and two magicnumer. I found similar topics on the forum. 

Don't forget the code to write the array data to a file so that you can resume where you were when your PC or MT4 crashed . . . and make sure you have a copy of the file copied to a different PC just in case the hard disk has crashed too.
 
Wodzuuu:

I'm not done with the code, but I know what is needed to complete the theme.
I need a array where they will be placed tiket number of open positions, then they will be taken to close the appropriate orders. Need two tables for two strategies and two magicnumer. I found similar topics on the forum. Only you have to just piece together.

https://www.mql5.com/en/forum/125602      <<<< its better

https://www.mql5.com/en/forum/45105 

Why do you want an array? You can query the ticket numbers by looping through the open orders. What do you mean with "Need two tables..." ?

 

I'm sorry I did not see the error interpreter. I mean two array
Kronin or you're right. It seemed to me that the array will be easy, with more number of different purchase orders and scenarios. but MAGICMA must be a minimum of two ( magicma1 and magicma2). I think?

RaptorUK thanks i'ts good advice 


Sorry guys, but I do not write this quickly

 

If the closing algorithm depends on the strategy the order has opened with, I would add a magic number for every strategy.
Also if you want to restrict one strategy from open more than a specifc number of orders, you would need to identify the strategy within the open orders.
If you use the strategies only to generate buy/sell signals, you probably don't need more than one magic number. 

In other words, if you have to know for any reason which of your strategies did open an order, you need different magic numbers. 

 
kronin:

If the closing algorithm depends on the strategy the order has opened with, I would add a magic number for every strategy. 

YES it's depends, I will need more magic numer

https://www.mql5.com/en/articles/1390 i will do array 3D , 3D will depends on stategy
 

Reason: