Spécifications
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
int OnInit()
{
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Script deinit function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
ObjectDelete(_Symbol);
}
//+------------------------------------------------------------------+
//| Script tick function |
//+------------------------------------------------------------------+
void OnTick()
{
double maFast, maSlow;
int idx = StartIndex();
if (_Symbol == "XAUUSD" || _Symbol == "EURUSD" || _Symbol == "USOIL")
{
maFast = iMA(_Symbol, PERIOD_M1, 13, 0, MODE_SMMA, PRICE_CLOSE, idx);
maSlow = iMA(_Symbol, PERIOD_M1, 26, 0, MODE_SMMA, PRICE_CLOSE, idx);
if (maFast > maSlow && maFast > maSlow)
{
int ticket = OrderSend(_Symbol, OP_BUY, 0.1, Ask, 3, Ask-20*Point, Ask+20*Point, "MyOrder", 0, 0, Green);
if (ticket > 0)
{
OrderModify(ticket, OrderOpenPrice(), OrderOpenPrice()-50*Point, OrderOpenPrice()+50*Point, 0, Blue);
Alert("Buy order sent!");
}
}
else if (maFast < maSlow && maFast < maSlow)
{
int ticket = OrderSend(_Symbol, OP_SELL, 0.1, Bid, 3, Bid+20*Point, Bid-20*Point, "MyOrder", 0, 0, Red);
if (ticket > 0)
{
OrderModify(ticket, OrderOpenPrice(), OrderOpenPrice()+50*Point, OrderOpenPrice()-50*Point, 0, Red);
Alert("Sell order sent!");
}
}
}
}
//+------------------------------------------------------------------+
//| Script properties |
//+------------------------------------------------------------------+
input string Expert_Title = "My Trading Bot";
input ulong Expert_MagicNumber = 22655;
input bool Expert_EveryTick = false;
input int Signal_ThresholdOpen = 10;
input int Signal_ThresholdClose = 10;
Répondu
1
Évaluation
Projets
10
40%
Arbitrage
4
25%
/
25%
En retard
1
10%
Travail
2
Évaluation
Projets
9
22%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need an MQL5 experienced developer
30 - 100 USD
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
Robotics Artificial Intelligence
100+ USD
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
there I hope you're doing well I want to convert the tradingview indicator to make an indicator for mt5. And in that, I want to make an automatic robot on the base of the indicator. I have the pine script of that indicator
Development of a stop-out plugin for MT5 Manager
30 - 150 USD
Looking for someone who is able to code MQL for MT5 manager plug-in? Please contact me for more info. it is mainly on when to trigger a stop out of the account
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
Informations sur le projet
Budget
30+ USD
Pour le développeur
27
USD
Délais
de 10 à 15 jour(s)