Trading Robots for MetaTrader 5

Special Offer!

Time Left to Buy:

Up to 25% OFF

Shopping cart

The cart is empty

MetaTrader 5

Top Rated Products MT5

999 $749 $ AI Gen XII MT4
Denis Kurnev
4 5 4 Product
999 $749 $ Nmt5
Liang Qi Quan
4.5 5 2 Product
2 199 $1 649 $ Ak47tutu
Dian Zhou
4.5 5 2 Product

CapitalGrid

capitalgrid-logo-200x200-3756
100 $75 $

Free updates are included

We accept crypto: BTC, ETH, BCH and more...

30-Day Money Back Guarantee
100% Guarantee of Originality

Information

Experts
MetaTrader 5
Mr Nisit Noijeam
1.0
5

Overview

Code Components and Functionality:

  1. Basic Information

    • #property : Used to define the EA properties like copyright, link, version, and description.
    • input : Parameters that users can customize in the EA, such as enabling/disabling buy/sell orders, price levels, take profit points, lot sizes, etc.
  2. Main Functions

    • OnInit() : Executes when the EA is initialized. It creates a label on the chart and draws red lines at specified price levels (Red Line).
    • OnDeinit(const int reason) : Executes when the EA is deinitialized. It removes the label and red lines from the chart.
    • OnTick() : Executes on every new tick. It checks the price and places buy or sell orders based on the specified parameters.
  3. Sub-Functions

    • CheckAndPlaceOrder() : Checks and places buy or sell orders based on the current price and defined conditions.
    • PlaceOrder() : Places a buy or sell order by sending a trade request to the server.
    • getLastOrderPrice() : Gets the price of the last opened order.
    • IsWithinTradingZone() : Checks if the price is within the specified trading range.
    • CountOrders() : Counts the number of orders of a specified type.
    • DrawRedLines() : Draws red lines at specified price levels.
    • IsOrderInZone() : Checks if there is an existing order in the same zone.

Parameter Descriptions:

  • EnableBuy and EnableSell : Enable buy and sell orders.
  • RedLinePrice : Price level for the red line.
  • RedLineInterval : Interval between red lines in points.
  • NumberOfRedLines : Number of red lines to create.
  • TakeProfitBuy and TakeProfitSell : Take profit points for buy and sell trades.
  • LotSizeBuy and LotSizeSell : Lot sizes for buy and sell trades.
  • MaxPriceBuy and MinPriceBuy : Maximum and minimum prices to place buy orders.
  • MaxPriceSell and MinPriceSell : Maximum and minimum prices to place sell orders.
  • MagicNumber : Magic number for the EA's orders.
  • EnableSLBuy and EnableSLSell : Enable stop loss for buy and sell trades.


Recently Viewed

1 599 $1 199 $ Nesco
Gennady Sergienko
150 $113 $ Invest Time President MT5
Sergey Kanareykin
300 $225 $ GoldStorm
Ewa Joanna Jagiello Stepien
600 $450 $ Big Fishing
Igor Dorn
Results 1 - 4 of 4

30-Day Money Back Guarantee

If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: [email protected].
Refund requests received more than 30 days after purchase will be rejected.

Email Us Now! Support is available 24/7
by Email: [email protected]

Do You Need Help?
Click Here To Start Live Chat

Contact Us

Image

Search