I think I can try that for Trace. It always prints the lines in the main windows, but sometimes I'm printing values from some indicator and they can't be seen in the main window. Which is not that big problem when I just want to see whether the values are different than 0 or EMPTY_VALUE and then I remove the block 
Posts made by fxDreema
-
RE: Draw line for average bid and askposted in Questions & Answers
-
RE: No trades nearbyposted in Questions & Answers
I added 2 new Time parameters, but I'm not sure that I am happy with the result. I decided to use Value -> Time (from "Condition") for the two times, because these options are more versatile. Both times are set to the current time. Of course, Time1 should be the oldest time (so if the trade is older than this time, it is excluded), but I don't want to add more parameters like for example "Do you want to use Time1?", so if Time1 equals to the current time, it is not used. Time2 is the time after which the trades are excluded, so when it equals to the current time, it is like it is not used as well... the trades cannot be newer than the current time.
What I don't like is my confusion when using these times. I hope it is logical that with Time1 and Time2 we are making a range of time in which we have our trades. But the block itself is negative, its name starts with "No...". So, first with the time range we are selecting the trades that we want, and then the block itself excludes those trades in that negative "No trades..." sense. So now I am thinking if there is a need for "Trades nearby" block, where everything would be on the same side.
Anyway. Try this thing and tell me if something can be optimized.
-
RE: how to set Timeframe value at Condition block?posted in Questions & Answers
It works for me with ENUM_TIMEFRAMES constants

-
RE: Draw line for average bid and askposted in Questions & Answers
In the offline version the block is named "Indicator tester" or something like that. The idea of this block is to print values on the chart, so you can see them... mostly to test the output values of custom indicators. It does that by printing multiple trendlines, one for each candle. It is not intended to be used as a custom indicator itself

-
RE: How to get normal value?posted in Questions & Answers
MetaTrader decides how to format the number automatically in this case. There is a function DoubleToString() to format the number, but the second parameter of this function is the number of digits after the decimal point. If I put 8 digits it prints the value normally, but if the value is for example 10, it prints 10.00000000. So I don't know how to make it work properly for big and small numbers. One way is to add new parameters in the "Comment" block for formatting, but I don't think that I like the idea... I don't know.
-
RE: How to Create New Take Profit in same levelposted in Questions & Answers
The same profit level... but what is that level?
-
RE: How to find lowest and highest value from indicator x-candles?posted in Questions & Answers
Only for custom indicators, in "More settings" there are extra settings and I think this is available there.
-
RE: No trades nearbyposted in Questions & Answers
I don't know how to do it right now. I guess I have to add some time filter settings

-
RE: Volume Upper Limit - Sell blockposted in Questions & Answers
But your lot size is 0.1, which is less than 0.3, you should see a trade with 0.1 lots. The upper limit is the maximum lot size that the block could take, in case the requested lot size is bigger. Yours is not bigger, it is 0.1, but sometimes people use let's say Martingale, where the lot size is changing (and growing) - in this case an upper limit is probably a good idea.
-
RE: I would want to add in ZigZag as my SL but how? I am new in EA buildingposted in Questions & Answers
You know, I added ZigZag looooong time ago and I always forget how this indicator works. I see you are calculating some values, are they correct? Do you have good values from the indicator itself? I mean, is the reading of the values the problem or using them after that as a SL?
-
RE: Something about GMT that confused meposted in Questions & Answers
The GMT time depends on the local clock:
https://docs.mql4.com/dateandtime/timegmtReturns the GMT, which is calculated taking into account the DST switch by the local time on the computer where the client terminal is running.
-
RE: EA not importingposted in Questions & Answers
True, this commented part is compressed version of the project itself - its blocks, settings and so on. The MQL above is the generated code, but it is not used when importing back.
-
RE: .ex5 indicator to MyIndicatorposted in Questions & Answers
The file itself you can't use, but you can manually type the inputs. Here is more info: https://fxdreema.com/tutorial/builder/indicators#11
-
RE: Add to a Positionposted in Questions & Answers
You probably want to use "pips away from open-price". The block you are using "pips away from take-profit" is now checking when the price is 100 pips above the take-profit (for sell) or below (for buy), which is true immediately, because the take-profit is 200 pips.
-
RE: Block an EA remotelyposted in Questions & Answers
Above the blocks there is small search bar. Type http there. There is some information for the block as well. But of course this block requires you to have a server that can respond in a proper way.
-
RE: Ninjatrader integrationposted in Questions & Answers
I don't know. I heard about NinjaTrader long time ago, but never really tried it

-
RE: Get fresh password from http address?!posted in Questions & Answers
There is a block for HTTP request. It is not very "clever" with the results it gets, but check it out... this is the only block to reach some server via HTTP
