Hello everyone, I use a function to calculate the optimal lotsize for any trade, the return value is as seen below. This function is supposed to deliver a 0.XX double so that the OrderSend function can properly open an order. double
Hey everyone, I wanted to create a function for risk management as seen in the code below. double OptimalLotSize( double maxRiskPercentage, double ATR_Lot_Multiplier) { double accEquity = AccountEquity();