standard indicators with buffers is not possible create, but you can create EA as indicator, here is plenty amount of Object blocks as Draw lines, arrows, rectangles, etc .. and you can easily create indicate objects for current bars, or alternatively use loop block and do something more complicated (go through my replies, somewhere I have examples how to create this, search for loop or array ... ) ...
Best posts made by miro1360
-
RE: Indicatorposted in Questions & Answers
-
RE: how can i Disable spread text on chartposted in Questions & Answers
or use Delete objects block where you can specify name exactly (in Name starts with give whole object name) ...
-
RE: Any suggestion for Renko Chart !?posted in Questions & Answers
hi, renko is tricky ... because first what is renko ... it is generated in specified pips range as current price is oscillating up and down ... most of renko generators are holding all renko candles generated from time when generator started - this means if you want good history of renko candles, you need leave runing generator long time without restart, but when it is restarted, renko chart is generated from new time and all history bars are lost ... most of renko generators have function "generate history bars from M1 candles" -- this is good, but not perfect because you have not real ticks in these candles and they are generated only on price range of M1 chart - the smaller renko candle is, the less accurate in history candles, and opposite ... this small perfection detail is in renko big problem, because in most cases you cant test your EA in tester - you can test is if it is working as open/close, but you cant test it for profit in tester ... the only way how to test renko is forward demo (this take months and most probably fails in all scenarios
) ...renko generators in most case generate offline charts in some period (in settings can be specified), like M2 ... this means timeframe == 2 ... so in fxdreema insert your timeframe in constants/inputs as int type and in condition timeframe apply this constant:

example below is well known renko strategy (2 new candles in same color opens trade in direction and one opposite it close) ..
https://fxdreema.com/shared/XgbcqQb9d

-
RE: Draw Arrow for past Signalposted in Questions & Answers
using loop ...
you can learn from my replies, study them one after another and it can answer you a lot of questions
...https://fxdreema.com/forum/topic/4774/text-object-on-the-top-of-each-bar/2
-
RE: Is it possible to have a dropdown list for inputs?posted in Questions & Answers
its like cookery book now without index

just cook everything, one after another and you become culinary art
-
RE: THE COLOR SIGN HAS FIXED?posted in Questions & Answers
when it repaints, it is not very good for EA because you dont know when signal is confirmed, it can be 1 candle, it can be 4 candle

-
RE: ***Important problem :strategy tester***posted in Questions & Answers
I thought it can working with these handle operations but it is not working - I tested it now (I tested it in correct way with CopyBuffer function and arrays), but without success ...
so you need wait or communicate with MQL company if they add HideTestIndicators in MT5but you can do this little trick in on Init:

it makes visual mode in MT5 tester functionless and user can test EA only without visual mode option ...
-
RE: ***Important problem :strategy tester***posted in Questions & Answers
standard reply from MQL5
IndicatorRelease() is not working in tester (at least in case as I tested it) ... -
RE: Freeze % of free marginposted in Questions & Answers
hi ambrogio ... I am not sure about calculation ... but what I think ...
management is working in way, that Lots are calculated from some reference, here is reference % of Free margin ... as example your Free margin is 9000 USD, and you set % as 10%, so your trade will have so much lots that next Free margin will be 8100 USD (because 10% of 9000 = 900 and 9000-900 = 8100) ... now your free margin oscilates about +-8100 USD and for next trades you get lots calculated again with the same principle, 10% from 8100 USD is 810 and next trade have so much lots that free margin will be 8100-810=7290 USD ... if your portfolio get free margin higher, like 12000, 10% from 12000 USD is 1200 and next trade opens so much lots that Free margin will be 12000-1200=10800 USD
... but I am not sure if this is right, it is what I think ... -
RE: how i do that in ea ?posted in Questions & Answers
separate orders into different groups:
https://fxdreema.com/shared/W7uvaIBmc
-
RE: Any way to do this with indicators?posted in Questions & Answers
not sure if I help you, it needs few lines of code ...
you can use global variables to communicate between EA and indicator, and in indicator code you set few "options" based on global variables for indicator appearance
https://docs.mql4.com/customind/setindexstyle
SetIndexStyle(0, DRAW_NONE, EMPTY, EMPTY, CLR_NONE);or as you mentioned, using templates ... standard it is problem, but you can use my cheatsheet for saving variables into file
https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced -
RE: Help Please!posted in Questions & Answers
start with simple projects, do few and try understand how fxdreema works little bit ... after that you can do more advanced stuffs

-
RE: Indicator with 100 Input Parametersposted in Questions & Answers
edit indicator in metaeditor, open it and save it with different name, than somewhere in begin of code you can find "input" or "extern" ... for parameters, which should be non visible in fxdreema, delete all "input" or "extern" words and leave rest of code ...

as example:
original: input int adxPerioda = 14;
edited: int adxPerioda = 14;or original: extern int adxPerioda = 14;
edited: int adxPerioda = 14;or you can change their default value, as this:
edited: int adxPerioda = 34;click on compile button in metaeditor and import your new indicator into fxdreema, now only desirable parameters are visible
-
RE: Is there a way to run EA with computer off?posted in Questions & Answers
use something as VPS service, there are many, I found good stability with contabo - I found it as best stability+power+price (about 15€ monthly +5€ for windows and any customization in power like more RAM, or CPU power, and it can hold >10 metatrader together or many EAs), https://contabo.com/?show=vps (select with SSD, not HDD, because SSD is much faster)
... or find own VPS service (with windows if you are not familiar in linux)there are also another services from amazon, or you can pay for whole dedicated server
but these are not cheap ... -
RE: Getting current net position (number of lots opened)posted in Questions & Answers
try bucket of trades:

it is for MT5 too (Bucket of Positions) -
RE: Indicators and mqh include filesposted in Questions & Answers
you must specify all depending enumerations which are implemented in included file:
for this one it should be only Smooth_Method:


