Help me in send http request
-
Hello Amin,
Thanks for your great service. Am novice in programming and coding.... I have subscribed your service and trying to build strategies. I need your or someone's help. Please help me with draw arrow and https request...Here, when the condition is met, I want mt4 to send webrequest to my server. Exactly the below format
https://algobids.info/trading/testStrategy?abInput=" + "Buy "+ fullName() + " at "+" "+buyPrice + " Qty = " + 500/stoploss + " SL = " + stoploss + " TGT = " + target + " TSL = " + 0*target,"fullName() = Name or the symbol
buyPrice = offer or ask price or LTP
stoploss = Lowest of last 3 candles
target = stoploss * 1.3
TSL = 0.2 * target
above values change per symbol.... These values should be taken from the Mt4 and sent to my server as given above link..Please do help me on this.... If you do it and share, it will be very very helpful...
Thanks... -
The URL input is a "string" field, but you know that when you write code, you put " before and after the string". Well, not for that input field, because " is put after that when the project is generated. When you write ", the builder thinks that this should be part of the string and it is escaped. So, what to do...
This one is old fix. Put "" + in the beginning and + "" at the end of the input field. Something like this:
"" + "your url address" + Symbol() + "other part of the address" + "" -
@fxdreema Thank you very much for your help.... You are really helpful..