I need to graph daily and weekly limits, open session values

Tâche terminée

Temps d'exécution 22 jours
Commentaires du client
Difficult input settings but good developer
Commentaires de l'employé
Good order, and a competent trader

Spécifications

I need an indicator to graph the following values as lines on the graph on a historic basis (not only for the curren day and week):

// WEEKLY LIMITS

Limit_2_Long  = iClose(NULL,PERIOD_W1,1) + iClose(NULL,PERIOD_W1,1)*weekly_Limit/100 ; 

Limit_2_Short = iClose(NULL,PERIOD_W1,1) - iClose(NULL,PERIOD_W1,1)*weekly_Limit/100 ;   

// Where weekly limit is an input variable



// DAILY LIMITS

Limit_1_Long  = iClose(NULL,PERIOD_D1,1) + iClose(NULL,PERIOD_D1,1)*daily_Limit/100 ; 

Limit_1_Short = iClose(NULL,PERIOD_D1,1) - iClose(NULL,PERIOD_D1,1)*daily_Limit/100 ;   

// Where daily limit is an input variable


EXCEPTIONS FOR DAX AND BUND AS FOLLOW:

// DAILY CLOSE AS REFER TO CALCULATE LIMITS 
 if (Hour()==Euro_end_session+1 && Minute()==0)
     { 
     Daily_close = iClose(NULL,PERIOD_H1,0)  ;
     }


// WEEKLY CLOSE AS REFER TO CALCULATE LIMITS 
if (Hour()==Euro_end_session+1 && Minute()==0 && DayOfWeek()==5)
     { 
     Weekly_close = iClose(NULL,PERIOD_H1,0)  ;
     }
// Where Euro_end_session is an input variable


Open session values: this should be a white line that shifts on every new session, with external inputs to decide which session to use (for instance I wante to use Asian - Europe- US for EURJPY but only Europe and US for DAX). Also previous days values is required.

//+------------------------------------------------------------------+ 
//| ASIAN SESSION                                                          |                                           
//+------------------------------------------------------------------+ 

     
    if (Hour()==Asian_open+1)  // where Asian_open is an input variable
        {                   
        Open_LIne = iOpen(NULL,PERIOD_H1,0) ;                                            
        } 
        
        
//+------------------------------------------------------------------+ 
//| UE SESSION                                                              |                                           
//+------------------------------------------------------------------+ 

     
    if (Hour()==Euro_open+1)  // where Euro_open is an input variable
        {              
        Open_LIne = iOpen(NULL,PERIOD_H1,0) ;      
        } 
              

//+------------------------------------------------------------------+ 
//| US SESSION                                                              |                                           
//+------------------------------------------------------------------+ 

     
    if (Hour()==US_open+1)  // where US_open is an input variable
        {               
        Open_LIne = iOpen(NULL,PERIOD_H1,0) ;  
        }   





   

Répondu

1
Développeur 1
Évaluation
(54)
Projets
102
23%
Arbitrage
12
25% / 17%
En retard
13
13%
Gratuit
2
Développeur 2
Évaluation
(83)
Projets
143
52%
Arbitrage
8
13% / 75%
En retard
22
15%
Gratuit
Commandes similaires
Hi, I want to develop a highly accurate, custom technical indicator for MetaTrader 5 (MT5) specifically tailored for 1-minute Binary Options trading (Quotex). I do NOT need an automated trading bot. I only need visual buy/sell arrows on the chart, an advanced alert system, and an on-chart performance statistics dashboard. The indicator must be 100% non-repainting. --- 1. STRATEGY CONFLUENCE LOGIC The indicator should
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
B6 EA 30 - 50 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters
RECHERCHE DÉVELOPPEUR MQL5 — PARTENARIAT 50/50 Objectif : développer un EA de trading automatisé en 11 jours maximum pour participer à plusieurs concours de trading démo. Je recherche un développeur MQL5 expérimenté, capable de développer, tester et optimiser un EA proprement, avec une vraie maîtrise de la gestion du risque. CONCOURS VISÉS 🥇 XM — Weekly Demo Contest - Concours récurrent - Prize pool annoncé : 25 000

Informations sur le projet

Budget
30+ USD
Délais
à 10 jour(s)