Moath jamal

İş Gereklilikleri

//+------------------------------------------------------------------+
//| 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;

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(7)
Projeler
8
38%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
0
Yüklendi
2
Geliştirici 2
Derecelendirme
(8)
Projeler
9
22%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
Benzer siparişler
Hello Everyone. I need a very competent programmer who can develop a mobile APP for me. Requirement: 1, The programmer will design the sport app from A-Z, and it will have login interface for registered users, 2, Users will automatically be denied access after s specific time expiration 3, It will have 5 to 7 different sections where sporting games (Text) can be uploaded by the admin on a daily based or as admin
Hello how are you doing? Can you help me with a projects connecting trend lines to pivot points on a wave, for trendlines, color detention, and dynamic visualization? I have a project I’d like you to look at. I need a pine script code to capture the different Trendline colors that cross both above and below horizontal lines on the wave indicator
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks
Hello I'm in possesion of a straightforward MT% Expert AdvisorThat I want to convert into DXTrade. Are you able to do this conversion? Kindly let me know if the fil atached will be enough
Hello, I need a quote for developing a bot for my renko based trading system on ctrader platform and based on the attached specification your expertise is highly needed for this project Thanks
I need a trading panel to trade share market scripts like Stocks, options, futures, etc There should be an option to add API from my broker to the panel so panel can fetch script details and then I can trade directly through panel Please find the attached image for details
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
Hello, I am seeking someone who can translate my TradingView Pine Script strategy into cAlgo code language. This is to enable us to automatically execute our trades via Ctrader, eliminating intermediary steps such as copiers and MT5. Would you be able to assist us with this? Looking forward to your response
Hello I am looking for a developer to help me backtest my custom ninjatrader 8 strategy andake it work perfectly your expertise is highly need for this project kindly reach out to me and let proceed
Hello please I need a developer to help me fix errors on my Ninjatrader 8 strategy I and make it work perfectly your expertise is need for this project kindly reach out to me and let's proceed

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 10 to 15 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0