Hi everyone. I've an open challenge for those expert coders out there. Anyone who'd like to try I would greatly appreciate it. Here is the story. I've a trading calculator that I built and it is loed in Excel. I've attached the calculator . Prevent loss and it is designed to calculate position size depending on the position of entry. It's designed to also inform you the RR of the transaction and calculate the profit or loss in dollars. The inputs required are account value, desirable risk in percentage, entry price, exit price, pip value, and if performing a breakout commerce, the low and high of the range in order to work out a price goal. I have highlighted the input fields in yellow.

My challenge/question is can this be implmented as an indior into MT4 to ensure Excel would not have to be used for calculating this worth?

Thanks in advance
https://www.nigeriaforextrading.com/...314845469.xlsx