Hello. I need to convert the code written in pinescript to metatrader 5 in MQL4 or MQL5 language. The code is attached and is based on some indicators that I use in the RMA type code, high low, It needs to send orders according to the strategy. Input data: Purchase Quantity Sale Quantity Closing Time Factor PD Include high and low indication line coloring rules The expected calculation of averages should be