How to use Multi_BuyStopOrder please, I'm new to automated trading

 

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

Multi_BuyLimitOrders & Multi_BuyStopOrders
Multi_BuyLimitOrders & Multi_BuyStopOrders
  • www.mql5.com
Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.
Files:
need_help.png  20 kb
 

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.

Scripts: Multi_BuyLimitOrders & Multi_BuyStopOrders
Scripts: Multi_BuyLimitOrders & Multi_BuyStopOrders
  • 2023.04.24
  • www.mql5.com
Articles, Library comments: Scripts: Multi_BuyLimitOrders & Multi_BuyStopOrders
 

Sorry for asking a question that was too simple a priori.

Thanks you btw