İş tamamlandı
Tamamlanma süresi: 2 gün
Müşteri tarafından geri bildirim
Excelente resolvió mi problema en muy poco tiempo. espero trabajar con el de nuevo.
İş Gereklilikleri
quiero convertir un programa y necesito asesoria para la conversion y aprender.
quiero mantener el mismo formato tanto como sea posible .
son varias funciones a convertir dejo ejemlo de una funcion.
bool Buy(int MagicIndex, double Lots, int StopLossMethod, double StopLossPoints, int TakeProfitMethod, double TakeProfitPoints, int Slippage, int MaxOpenTrades, int MaxFrequencyMins, string TradeComment) { static double pipSize = 0; if(pipSize == 0) pipSize = Point * (1 + 9 * (Digits == 3 || Digits == 5)); double sl = 0, tp = 0; double stopLossPoints = 0, takeProfitPoints = 0; int numberOfOpenTrades = 0; for(int i=OrdersTotal()-1;i>=0;i--){ if(!OrderSelect(i, SELECT_BY_POS)) continue; if(OrderMagicNumber() != __STRATEGY_MAGIC + MagicIndex || OrderSymbol() != Symbol()) continue; numberOfOpenTrades ++; } if(MaxOpenTrades > 0 && numberOfOpenTrades >= MaxOpenTrades) return(false); if(MaxFrequencyMins > 0) { int recentSeconds = MaxFrequencyMins * 60; for(int i=OrdersTotal()-1;i>=0;i--){ if(!OrderSelect(i, SELECT_BY_POS)) continue; if(OrderMagicNumber() != __STRATEGY_MAGIC + MagicIndex || OrderSymbol() != Symbol()) continue; if(TimeCurrent() - OrderOpenTime() < recentSeconds) return(false); } int hstTotal=OrdersHistoryTotal(); for(int i=hstTotal-1;i>=0;i--) { if(!OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)) continue; if(OrderMagicNumber() != __STRATEGY_MAGIC + MagicIndex || OrderSymbol() != Symbol()) continue; if(TimeCurrent() - OrderOpenTime() < recentSeconds) return(false); break; } } if(Lots < MarketInfo(Symbol(),MODE_MINLOT)) return(false); if(AccountFreeMarginCheck(Symbol(), OP_SELL,Lots) <= 0) { Print("Buy error: insufficient capital"); return(false); } if (StopLossPoints > 0) { if(StopLossMethod == 0) { sl = NormalizeDouble(Ask - StopLossPoints * Point, Digits); stopLossPoints = StopLossPoints; } else if (StopLossMethod == 1) { sl = NormalizeDouble(Ask - StopLossPoints * pipSize, Digits); stopLossPoints = StopLossPoints * (1 + 9 * (Digits == 3 || Digits == 5)); } else { sl = StopLossPoints; stopLossPoints = (Ask - sl)/Point; } } if (TakeProfitPoints > 0) { if(TakeProfitMethod == 0) { tp = NormalizeDouble(Ask + TakeProfitPoints * Point, Digits); takeProfitPoints = TakeProfitPoints; } else if (TakeProfitMethod == 1) { tp = NormalizeDouble(Ask + TakeProfitPoints * pipSize, Digits); takeProfitPoints = TakeProfitPoints * (1 + 9 * (Digits == 3 || Digits == 5)); } else { tp = TakeProfitPoints; takeProfitPoints = (tp - Ask)/Point; } } double stopLevel = MarketInfo(Symbol(),MODE_STOPLEVEL) + MarketInfo(Symbol(),MODE_SPREAD); if( (sl > 0 && stopLossPoints <= stopLevel) || (tp > 0 && takeProfitPoints <= stopLevel) ) { Print("Cannot Buy: Stop loss and take profit must be at least " + DoubleToStr(MarketInfo(Symbol(),MODE_STOPLEVEL) + MarketInfo(Symbol(),MODE_SPREAD),0) + " points away from the current price"); return (false); } RefreshRates(); int result = OrderSend(Symbol(), OP_BUY, Lots, Ask, Slippage, sl, tp, " " + "(" + WindowExpertName() + ") " + TradeComment, __STRATEGY_MAGIC + MagicIndex); if (result == -1){ Print("Failed to Buy: " + IntegerToString(GetLastError())); Sleep(__SLEEP_AFTER_EXECUTION_FAIL); return(false); } return(true); }
Yanıtlandı
1
Derecelendirme
Projeler
475
40%
Arabuluculuk
105
40%
/
24%
Süresi dolmuş
80
17%
Meşgul
Yayınlandı: 2 kod
2
Derecelendirme
Projeler
117
47%
Arabuluculuk
7
14%
/
29%
Süresi dolmuş
11
9%
Serbest
Benzer siparişler
ORDER FLOW / FOOTPRINT
50 - 150 USD
Estoy buscando un desarrollador que me pueda dar un indicador de order flow. Que quiero ver bid y ask de cada nivel de precio, el clasico order flow, donde va lo novedoso: Quiero que lo mismo que aparece en el footprint de cada vela, timframe, rango etc esa informacion se pueda guardar en CSV tal cual, deseo realizar analisis de datos con estas informacion. Que debe ir volumen bid, ask, delta, delta porcentual
Ofrezco un sistema de trading automatizado que conecta señales de MetaTrader 4 con ejecución automática de operaciones en Polymarket. El sistema ya está desarrollado y funcionando correctamente. Este bot permite copiar señales generadas por un indicador personalizado en MT4 y ejecutar operaciones automáticamente en mercados de predicción de criptomonedas. Cómo funciona el sistema Un indicador personalizado en MT4
busco programador para gestionar una modificación de un EA y la integración de una IA a través de Python, y poder agregarles API al mismo, de la mejor manera posible, también estoy abierto opiniones del desarrollador. I’m looking for a programmer to manage a modification of an Expert Advisor (EA) and the integration of an AI through Python, as well as to add APIs to it in the most optimal way possible. I’m also open
Proje bilgisi
Bütçe
40+ USD