Calculate Lot Size and Trailling Stop – EA MetaTrader 5

Calculate Lot Size and Trailling Stop - expert for MetaTrader 5
I. Condition Buy-Sell 2. Backtest 1. Main function for calculate lot size //+——————————————————————+ //| caculate lot sisze Function                      | //+——————————————————————+ double calculate_lotsize(double sl, double price)   {   double lots=0.;   double lotstep= SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP); double ticksize = SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_SIZE);    double tickvalue = SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE);   double balance= AccountInfoDouble(ACCOUNT_BALANCE);   double point= SymbolInfoDouble(_Symbol,SYMBOL_POINT);   //double  loss=MathRound((MathAbs(price-sl)/ ticksize) * ticksize );   double  loss=MathAbs(price-sl)/point;  m_symbol.NormalizePrice(loss);   double Risk= initial_risk*balance;   if(loss!=0) … Read more

VR Calculate Martingale Lite – indicator MetaTrader 4

VR Calculate Martingale Lite - indicator for MetaTrader 4
Average price indicator that helps the trader to calculate the price for closing all the orders without loss and profit. With the help of the indicator, the trader creates the virtual orders and manually sets the order volume. The indicator calculates the average price by itself. One can move the orders with the mouse. The … Read more

VR Calculate Martingale Lite MT 5 – indicator MetaTrader 5

VR Calculate Martingale Lite MT 5 - indicator for MetaTrader 5
Average price indicator that helps the trader to calculate the price for closing all the orders without loss and profit. With the help of the indicator, the trader creates the virtual orders and manually sets the order volume. The indicator calculates the average price by itself. One can move the orders with the mouse. The … Read more