Is that even possible? 
Posts made by fxDreema
-
RE: Memory stuffposted in Questions & Answers
It will be hard to do in an EA and the result will be heavy most probably. Collecting array of data and visualizing it is what indicators do, this is the right thing to do

-
RE: Memory stuffposted in Questions & Answers
Storing information in file will be slow and who knows what bugs can appear because of that. It's possible to read from files, but there is no block for this, I have to write some.
If you want to store only few values, not whole arrays with data, then I can suggest this block "Set Global Variables in MT4". There variables are actually stored in files, similar to browser cookies. Then you can get their data in Condition. And you can see them all in MetaTrader, just hit F3. -
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
Ooops, maybe Lightshot decided to stop our behaviour of posting direct links to images
Edited! -
RE: 2 indicator in same windowsposted in Questions & Answers
I don't think so, at least I have never seen that. There is a keyword in the indicator's code that says it should appear on a second window. Then this windows is automatically created for the indicator with it's own rules.
-
RE: self updating/refreshing grid, compare two groups of tradesposted in Questions & Answers
Mmmm I'm not sure that this will work. The keyword is lowercase "pips" actually, but it's something that I added by myself, it's not from MQL. The actual function that works behind that is: https://fxdreema.com/documentation/coll ... ql4/topips But I will not recommend to someone to use it, because I can modify it eventually.
But you can use this:
http://prntscr.com/6a3zc9If you have better idea of how to do deal with such calculations, I will be happy to hear(read) it

-
RE: Breakoutposted in Questions & Answers
I'm always explaining things in general and often I am giving more information than the requested.
I already said this maybe few times, but I will say it again.
This, only the left side of Condition block...
http://i.imgur.com/crR8Pbn.png
... is giving you a value. Simple beautiful price value. A value that represents the highest point of the last 5 bars. Again, this is a value, it's not an apple, it's not a pear. Numeric value.In "Condition" block you can compare 2 values. But you should use "Condition" block only when you want to do that. Use "Condition" block when you want to compare 2 values.
You don't want to compare two values, you only want to use a value that is otherwise accessible in "Condition". No problem, everything that you can load in "Condition", you can load it in other blocks as well. "Buy now", "Buy pending order"... like this:
-
RE: Close Positions Problemposted in Bug Reports
Oh damn, I generated it on my local fxDreema
I updated it: https://fxdreema.com/shared/aEnXaRG3e -
RE: Check trades count and more.posted in Questions & Answers
Обикновен проект, всичко трябва да си работи както е направено. Първо виж дали на реално поръчките са направни само от този експерт, може да си забравил някой друг на друга графика. После виж дали има съобщения за грешки. После виж дали някоя поръчка не отговаря на условията дето са в проекта. Не би трябвало да има такава, ама ако има - тя ще се разнищва.
Можеш и да пробваш с Once per bar да ограничиш нещата. Стопа ти не е много голям, така че ако нещо се отвори и затвори в същата свещ, вероятно е да се отвори и нова поръчка веднага след тази. Нали знаеш че като работиш с индикатори, работиш със свещи.
-
RE: Breakoutposted in Questions & Answers
Compare it to whatever you like. This results in a value that is the highest point of the last 5 candles. It can be compared with another price value in Condition or it can be used as a value in other block.
-
RE: EMA 1 is pips away from EMA 2?posted in Questions & Answers
Use the Adjust field to add some 30 pips on one of both sides in Condition. You can write something like +0.0030 or -0.0030 or even +30pips
-
RE: Check trades count and more.posted in Questions & Answers
Не много. Може би трябва да те пратя на тези примери:
https://fxdreema.com/demo/mt4-and-logic
https://fxdreema.com/demo/applying-or-logic-method1
https://fxdreema.com/demo/mt4-or-logicкато въобще не препоръчвам използването на OR или AND
-
RE: Feature Request: Search Within Projectposted in Questions & Answers
Or I can make it to highlight these blocks

Big projects are pain for me. I often look at projects that have too many blocks and cloned groups of blocks. In the world of programming this is really bad practice. I'm not sure how, but I will try to find some way to minimize this. For now I can only recommend - reuse the same blocks with the help of Variables, instead of cloning groups of blocks.
-
RE: Trailing Stopposted in Questions & Answers
So you want to use different step for each trade. This will require at least to remember somewhere what was the initial step of each trade. Now the trailing-stop block does not do that. Also, trades/orders does not have custom fields where we can store additional information. I had an idea to do this somehow, but the result will not be very good in any way. So I really don't know what to offer

-
RE: Помощ за МА пресичанеposted in Questions & Answers
Има разлика в архитектурата на кода. При индикатора имаш малко по-различен начален код, да го наречем темплейт. Иначе вътре в този темплейт можеш да използваш един и същи код за да начертаеш някой обект. Но индикатора по принцип чертае линии и хистограми без да пише код за това. Идеята там е да създадеш масив от стойности и да избереш начина по който да се изобрази - с линия, с хистограма, с единични обекти (стрелки, кръгчета, чудеса), в същия прозорец, на отделен прозорец. Не е голяма философия на който му се занимава. Можеш да вземеш един готов индикатор и да му преправиш математическата част. То на този принцип е пълно с всякакви най-вече ненужни индикатори

-
RE: Breakoutposted in Questions & Answers
Then what about this option:
http://i.imgur.com/crR8Pbn.png -
RE: Breakoutposted in Questions & Answers
It looks good if you run this block after 05:00. But you can simply test it
