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

Auftrag beendet

Ausführungszeit 1 Tag
Bewertung des Entwicklers
I'm glad I met the client. It was difficult, but everything worked out. Thanks for your patience!
Bewertung des Kunden
good programmer.... finished the job in 1 day when i gave 3 days

Spezifikation

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;

  }


Bewerbungen

1
Entwickler 1
Bewertung
(2)
Projekte
2
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
simple algo trading bot capable of executing buy when the market is favorable and sell when market is favorable. able to place stop lost and take profit while risking only 0.5% initial deposit and maximum 2%. capable of moving stop lost when market move ups in respect to break even. able to trade Forex, Commodities and crypto both long and short. more specification that respect risk management and lot sizing
I am looking for an experienced MQL5 developer who can convert a simple EMA crossover strategy (from TradingView/Pine Script) into a MetaTrader 5 Expert Advisor. This is a straightforward strategy (EMA cross, long-only), but accuracy in execution and backtest alignment is very important. Kindly apply If capable of doing it
Objective: Develop a custom Expert Advisor (EA) for MetaTrader 5 that trades based on a breakout of a specific reference candle. Strategy Rules: Reference Candle Selection: User specifies a candle (e.g., 5-minute candle at 13:30). EA marks the high and low of that candle. Entry Direction: The first subsequent candle whose body (not wick) closes outside the reference candle’s range sets the trading direction for the
apenas uma pessoa que realmente tenha compromisso de fazer o trabalho com qualidade pra desenvolver um EA baseado em uma estrategia e em indicador a pessoa precisara resolver alguns erros no codigo que tenho caso ele nao queira fazer do zero
I have a working EA that fills buy and sell orders with 3 conditions and parameters . I am looking to add another indicator for more accurate fills. Currently using MACD, RSI and STOCH
I would like you to add in the following features ⦁ Marking out CISD ⦁ Marking out OB ⦁ Trend bias shown at corner ⦁ Immediate Rebalance ⦁ Fair Value Gaps ⦁ Previous Candle Levels ⦁ SMT Marking on pair comparison ⦁ Alerts Basically in general to have an indicator as similar to the pro version with the features stated on the website, do not really have to copy exactly the same as it
I need an experienced MQL5 developer to build a fully automated MT5 Expert Advisor based on the ABA V10.6 – TitanX-H Ultra Neural strategy. This EA includes advanced logic, AI-based filters, and strict risk management rules. Please read carefully: Key Requirements: 1. Platform: MetaTrader 5 (MT5). Deliver both compiled .ex5 and full source .mq5 file. 2. Entry Logic: - Entries on 3M timeframe. - SMC structure and
I would like to know which experience and success you reach (live trading) with momentum strategies. Based on volume, volume profile, Distance between 2 SMAs, etc., what worked the best for you? Would like to collaborate on a joint-EA. Let me know and please show me your results (live trading, no backtests)
Title: Need a small MT5 script (Quick task) — $47 Description: I need a small MT5 utility made (details will be shared privately). I am looking for someone reliable and quick. Please message me so we can discuss. NOTE: I am located in India and face issues with adding funds $45 via card. I am happy to pay via UPI/Paytm if someone can help with MQL5 wallet balance
Hello everyone, I am interested in developing or customizing a Telegram trade copier for MT5. The main features I am looking for include: Real-time copying of trades from MT5 to Telegram Ability to send trade signals or alerts from Telegram back to MT5 (if possible) Compatibility with multiple accounts and brokers Secure and reliable operation If you have experience in creating or customizing Telegram trade copiers

Projektdetails

Budget
100 - 300 USD
Für die Entwickler
90 - 270 USD
Ausführungsfristen
von 1 bis 2 Tag(e)