Bid and Ask exist at the same time. You buy at ask and sell at bid. The difference is (one of) the profit of your broker.
To find out what "pips_4rm_AskPrice" and "TargetPrice" mean add the relevant values as comment to the chart and run the EA in the strat. tester - or learn to understand the code.
CodeBase publications have dedicated discussion threads (link at the bottom of the publication description), which makes it it easier to discuss the issue with the author and other users of the same code.
In this case, your question should have been posted there instead — Scripts: Multi_BuyLimitOrders & Multi_BuyStopOrders
In future, please consider this.
- 2023.04.24
- www.mql5.com
Sorry for asking a question that was too simple a priori.
Thanks you btw
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
As I said in the title, I'm new in automated trading and I don't understand how works the script Multi_BuyStopOrder :
https://www.mql5.com/en/code/44035
I know TP should be upper than the price asked and vice versa for SL but, I would like to trade immediately (and not wait for an asking price) maybe it's not the good script for me, I don't know, this is my second day on MQL5 market and there is a lot a scripts available :)
So, I dont understand "pips_4rm_AskPrice" and "TargetPrice", I guess the last one is for the buy stop but is it in pips or... ?
Thanks for your help !
-Thomas
Edit : I tried to find the answers on google, youtube, etc, I find nothing, that's why I'm asking you guys, for your help