Create an EA that will open 4 empty subwindows with its appropriate height

작업 종료됨

실행 시간 1 일
피고용인의 피드백
I'm glad I met the client. It was difficult, but everything worked out. Thanks for your patience!
고객의 피드백
good programmer.... finished the job in 1 day when i gave 3 days

명시

repair these mt5 files so it will open 4 panes using hash tables to manage the subwindow handles
each pane row heights are defined in externvariables

#define SUBWINDOW1 "Technical Window 1"     // Shortname
#define SUBWINDOW2 "Technical Window 2"
#define SUBWINDOW3 "Technical Window 3"

#define SUBWINDOW4 "Trade Window"

use SubwindowTemplate to open the 4 windows above, height = 60 pixel/pane, show subwindow shortname on the top left corner of the subwindows

Obtain the full height without subwindow of the Main Chart in pixels.  80% of total Chart height dedicated to 4 panes.  each pane will have 20% max chart pixel and divide that by 12 maximum rows and 30 maximum column
save these pixel heights in int    m_YDistance[Y_DISTANCE_BUFFER];

example, total height of chart = 1000 pixels.  800 pixel dedicated to the subwindows.  each subwindows have a maximum of 12 rows. so 800 pixels/4 panes = 200 pixel/12 rows = ......

instead of using iCustoms to open the subwindows use hash to open the windows instead

like the following:-
CGraphics::Graphics()
[
     m_WindowsHash=new Hash(); // create new hash to manage the window handlers
}

CGraphics::InitTechnicalAnalysisWindow0(string WindowName)

{

if(!InitSubwindow(WindowName))

    {

      printf("Fail to Init Sub-Window Name = "+WindowName);

      return false;

    }

    int windowID = ChartWindowFind(m_WindowID[1], WindowName);   

   if(windowID<0)

      return false;

ResizeSubWindow(WindowName,m_ChartHeightPixel[1]);

}

//+------------------------------------------------------------------+

//|                                                                  |

//+------------------------------------------------------------------+

bool Graphics::StartCustomIndicator(int hWnd,string ChartName,bool AutomaticallyAcceptDefaults=false)

  {

   ResetLastError();

   

   printf("Start Custom Indicator");


   uchar charArrayIndicatorName[];

   StringToCharArray(ChartName,charArrayIndicatorName,0);


   // printf("charArrayIndicatorName = "+charArrayIndicatorName);


   int MessageNumber=RegisterWindowMessageW("MetaTrader4_Internal_Message");

   int res=SendMessageW(hWnd,MessageNumber,15,charArrayIndicatorName);

   if(res)

     {

      LogError(__FUNCTION__,"Failed to post a msg winAPI",GetLastError());

      return false;

     }


   return true;

  }

//+------------------------------------------------------------------+

//|                                                                  |

//+------------------------------------------------------------------+  

bool Graphics::InitSubwindow(string ChartName)

  {

   ResetLastError();

   

   if(WindowFind(ChartName)>0)

     {

      if(m_WindowsHash.hGetInt(ChartName) < 0)

         m_WindowsHash.hPutInt(ChartName,WindowFind(ChartName));


      return true;

     }


   int hWnd=WindowHandle(Symbol(),0);

   if(!hWnd)

     {

      LogError(__FUNCTION__,"Window not found",GetLastError());

      return false;

     }

   bool res=StartCustomIndicator(hWnd,ChartName);

   if(WindowFind(ChartName)<0)

     {

      MessageBox(ChartName+" Indicator window not found.","ERROR",MB_ICONERROR);

      LogError(__FUNCTION__,ChartName+" Indicator window not found",GetLastError());

      return false;

     }


   if(res)

      m_WindowsHash.hPutInt(ChartName,WindowFind(ChartName));


   return res;

  }


응답함

1
개발자 1
등급
(2)
프로젝트
2
0%
중재
1
0% / 0%
기한 초과
0
무료
비슷한 주문
PLEASE I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE BENEFIT OF THE DOUBT THROUGH ARBITRAGE AGREEMENTS. ALSO IT IS VERY URGENT I NEED THE DEMO
We are looking for an experienced developer to help us convert our existing Pine Script strategy into a functional Expert Advisor (EA) for MetaTrader. The strategy is already built and tested on TradingView, but we require a reliable EA version that can be deployed for live and demo trading. The ideal candidate should have strong expertise in both Pine Script and MQL4/MQL5, with proven experience in converting
Robot 50+ USD
The most advanced mobile robot 98 % wine fully automated it must work both mt4 and mt5 with any broker it must be able to trade small amount to big amount
I am looking for a developer experienced in MQL5 and/or Python to build a system that automatically replicates trades from the Vantage Copy Trading section (web/app only) into an external MT5 account (different broker) . Main requirements: The system must read trades (symbol, buy/sell direction, lot size, SL/TP) from the Vantage Copy portal (accessible only via mobile app or web browser). The same trades must be
the screenshot is what it looks like i want it to use all the same indicators that the trading view dials have whatever payment is necessary is necessary I'm willing to pay the quicker the better and the more exact the better
Project Overview: We are seeking a highly skilled and experienced developer to build a next-generation Forex Expert Advisor (EA) for MetaTrader 5. The core innovation of this project is an EA that relies 100% on a custom deep learning AI model (e.g., LSTM, Transformer) for generating all trading signals. The EA will trade the XAU/USD (Gold) instrument. The developer must be proficient not only in advanced MQL5
PLEASE ONLY GENUINE APPLICATIONS! I am looking for a MT5 EA that I can successfully use to pass Prop Firm challenges in reasonable time and successfully trade funded account whilst staying within 4% daily drawdown and 8% max drawdown and profiting ideally 10% or more a month. The EA must: 1) Be suitable for prop firms 2) Stay within daily drawdown of 4% 3) Stay within max drawdown of 8% 4) Consistently profit 10%
I need developer to modify a simple mql4 indicator with non-repainting Buy/Sell arrows, selectable timeframe (current or higher), and alerts, push notifications.The indicator mq4 file will be provided as this is a simple change. I will need quick turnover of this work.Please apply if interested
PLEASE READ: IF YOU ARE NOT GOING TO ACCEPT THE BELOW THEN PLEASE MOVE ON TO THE NEXT CLIENT. I NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN THEY END UP DEVELOPING A FAULTY INDICATOR. AND I HAVE GIVEN THEM THE
Convert Advanced SMC Pine Script Strategy to MQL5 EA / Autotrade option Job Description: We are seeking an experienced MQL5 developer to accurately convert a sophisticated Smart Money Concepts (SMC) strategy from TradingView Pine Script into a robust, professional-grade MetaTrader 5 Expert Advisor (EA). The original code is complex and includes advanced logic for pivot detection, dynamic position sizing, and visual

프로젝트 정보

예산
100 - 300 USD
개발자에게
90 - 270 USD
기한
에서 1  2 일