#property copyright "ïðîôýññîð" #property indicator_chart_window int start() { double MaxLot = MarketInfo(Symbol(),MODE_MAXLOT); if(MaxLot>AccountFreeMargin()*0.99/MarketInfo(Symbol(),MODE_MARGINREQUIRED))//ãäå 0.99 - êîýôôèöèåíò çàïàñà MaxLot=AccountFreeMargin()*0.99/MarketInfo(Symbol(),MODE_MARGINREQUIRED); //Comment ("Ìàêñ.ëîò " ,MaxLot,"Ñïðåä ",MarketInfo(Symbol(),MODE_SPREAD),"ïò","Ñòîï ",MarketInfo(Symbol(),MODE_STOPLEVEL),"ïò"); //Comment ("Ñïðåä ",MarketInfo(Symbol(),MODE_SPREAD),"ïò"); //Comment ("Ñòîï ",MarketInfo(Symbol(),MODE_STOPLEVEL),"ïò"); Comment ("Ìàêñ.ëîò " ,MaxLot,"\n","Ñïðåä ",MarketInfo(Symbol(),MODE_SPREAD),"ïò","\n","Ñòîï ",MarketInfo(Symbol(),MODE_STOPLEVEL),"ïò"); return(0); } //+------------------------------------------------------------------+
Sample
Analysis
Market Information Used:
Indicator Curves created:
Indicators Used:
Custom Indicators Used:
Order Management characteristics:
Other Features: