Yeah thats what I am looking for but there is no delimiter field for the httpRequest Block ... maybeDesktop Version is old again?
Posts made by MetaTrader
-
RE: Send HTTP requestposted in Questions & Answers
-
RE: Two compiler warnings in Trailing Blockposted in Bug Reports
I get two warnings when i add a trailing block.
"expression not boolean AW_tpl_EA.mq4 2280 37"
Its not visible when compiling with fxdreema but if I compile it directly in MT4:
in the second line of those
bool go_modify=false;
if (polarity=="buy" && TrailWhat*(askbid-avg_price>toDigits(t_start)))
{
if ((TrailWhat*(askbid-group_stop)>=toDigits(t_stop+t_step)) || group_stop==0 || resetSL==true)
{
group_stop=askbid-toDigits(t_stop)*TrailWhat;
go_modify=true;
}
}and 8 lines later the same
My settings are
Group#
2
buys and sells
TakeProfit
fixed pips
4
Pips
2
Yes...
Clear ...
DeepPink -
RE: Formula Resultposted in Bug Reports
Would be great to have a free formula block where we can write some mql4 code
area for some lines of free code (hints apprecheated for the existing variables / constants / MQL4 keywords)
last line must be an assignment like
[ResultVariable = ] some free code.
the User must define the Name of the ResultVariable
-
RE: Absolute Value Functionposted in Questions & Answers
I am looking for the same more or less, where to put that?
example:
Current price should be below or above an indicator value not more than for e.g. 10 pips
If I use a formula block
on the left side the indicator
operator minus
on the right side the priceis half the way.
Where can i put the MathAbs function call now?
Or any other szenario where i want to use MathAbs or any other MT4 function.
-
RE: Looking for a Crossing during last n candlesposted in Questions & Answers
Two blocks is not exactly hitting the point.

maybe there are more crossings during the last 5 candles. One on candle 4 one on candle 1. Comparing like you say will give me a false where it must be a true....
-
RE: Radoslav told me about "makros"posted in Questions & Answers
In an email last week, you made my day, because you told me the keyword "pips" is expanded to some code, which equals to 0.0001 or 0.01 or whatever a pip means.
Is there a list of Makros? I guess you implemented more of that cool stuff?
-
RE: Looking for a Crossing during last n candlesposted in Questions & Answers
I want to know if there was a ema crossing during the last 5 candles.
Ok I can add 5 blocks for long condition with different offsets but then i need another 5 blocks for the short condition.Is there an simpler way?
-
RE: Send HTTP requestposted in Questions & Answers
Not so much obvious: There are 10 KeyValue Pairs beside the Address and Method. and there is a way show response in a Message box.
So its something thats not so obvious, how to take a not boolean result from a block to elsewhere.Maybe I want to evaluate the http response code or returned number / string to reuse it somewhere in my EA.
-
RE: MagicStart + Random?posted in Questions & Answers
Hello,
I am curious if there is a way to set the Magic Number for EA's to something thats related to Symbol and maybe Timeframe.
Why: I wrote an EA and I am still working on deatails. I have it on several Charts / Symbols / Timeframes. Everytime I put the EA on a new chart or recompile the EA I have to stop trading and set the Magic Number manually for not having conflicts
Solution would be to do something like that: MagicStart + NumericRespresentation of Symbol (maybe the AsciiValues or is there a SymbolEnum) + TimeFrameEnum = individual unique Magic Number

-
RE: Send HTTP requestposted in Questions & Answers
An other Question regarding http Request:
How to get the result of http request for use in a condition? -
RE: Compiling error......posted in Bug Reports
I have problem with compiling from FxDreema.
Pathes are fine, compiling from metaeditor works but not from FxDreema
I always get a popUp with MQL4/MQL5 Compiler doesn't work anymore
and in FxDreema:Compilation error: Server error, the file can not be compiled