MagicGirl dashboard 221 replies
SCM Dashboard (STOs, CCIs, MAs, multiple strategies combo) 289 replies
Dashboard indicators 4 replies
Dashboard Indicator Required 1 reply
Dashboard/Grid in lower indictor window 6 replies
Dislikedhello. I have a problem with 4 digits broker, buysell-manager don't open limits orders.. he open on market price. another 4 digits broker work fine, whats proplem with my broker. Also send message - Move BEIgnored
DislikedHello, thx for your work.
I have one mention: It would be possible to integrate lot calculator to your buysell line indicator(calculate lot size according to the preferred risk and signal candle stop-loss)??Ignored
DislikedThe Buy-Sell-Line-Indi shows me in pop up alert "Min/Max - Lotsize overruled" in default setting. Now I set RiskPercent to 0. Same message. Whatīs the reason?Ignored
//+---------------------------------------------------------------------------------------- double CalculateLotSize(double RiskPercent,double FreeMargin, double price1, double price2) { //Calculate the lot size by risk. if (price1 == 0 || price2 == 0) return(LotSize);//Just in case if (FreeMargin == 0) FreeMargin = AccountFreeMargin(); double TickValue = MarketInfo(Symbol(),MODE_TICKVALUE) ; double LotStep = MarketInfo(Symbol(),MODE_LOTSTEP); double SLPts = MathAbs(price1 - price2); SLPts/= Point; double Exposure = SLPts * TickValue; // Exposure based on 1 full lot double AllowedExposure = (FreeMargin * RiskPercent) / 100; int TotalSteps = ((AllowedExposure / Exposure) / LotStep); double LotSize = TotalSteps * LotStep; double MinLots = MarketInfo(Symbol(), MODE_MINLOT); double MaxLots = MarketInfo(Symbol(), MODE_MAXLOT); if (LotSize < MinLots) {LotSize = MinLots; Alert("Min/Max-Lotsize overruled");} if (LotSize > MaxLots) {LotSize = MaxLots; Alert("Min/Max-Lotsize overruled");} return(LotSize); }
DislikedIs it possible to have an option to select which value you want to do the calculations (Balance, Equity, Free margin)? If it's possible that would be awesome!
Kind RegardsIgnored