Expand ENUM_TIMEFRAMES predefined timeframes PERIOD

MQL5 Altro

Specifiche

Expand ENUM_TIMEFRAMES predefined timeframes PERIOD


I would like Metatrader 5 to behave like it can handle custom time frame.

I don’t think this can be done without a native MT5 update by MetaQuotes

but maybe you know how?


I would like ENUM_TIMEFRAMES to include custom PERIOD

https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes

i.e.

PERIOD_T1 (1 Tick)

PERIOD_T5 (5 Tick)

PERIOD_S1 (1 Second)

PERIOD_S5 (5 Second)

etc.

You get the idea.


My goal is to be able to use any PERIOD in any Indicators in an EA to do Multi-Instrument Real-Time-Trading as well as in Strategy Tester's backtesting.


For example, with an EA like the code below, the ENUM_TIMEFRAMES could be any PERIOD.

(I use the indicator RSI, PERIOD_T1 and PERIOD_S1 just for illustration but it could be any indicator or period.)

i.e.

double RSI1[];
int EURUSD_handle = 0; 

double RSI2[];
int GBPUSD_handle = 0; 
...
EURUSD_handle=iRSI(EURUSD,PERIOD_T1,ma_period,applied_price); 
GBPUSD_handle=iRSI(GBPUSD,PERIOD_S1,ma_period,applied_price); 
...
if         
(     
            (RSI1[0] < 70)
         && (RSI2[0] > 30)  
)

Please make sure you understand what I’m asking for before replying.

Reply by telling me your approach to solve this problem.





Ordini simili
Looking for someone who can teach me how to connect to Mt4 from phyton, code and backtest on phyton. This will be ongoing classes, once or twice a week for 1 hour
Am looking to license an automated stock trading algorithm with a minimum live track record of 6-12 months . Must be able to show a verifiable track record. Feel free to apply if you have something that aligns
I want to create a function that will check for news releases. I want it to be created without any use of dll's and ideally not using web-requests. The user from the input variable will be able to set which kind of news want to avoid and how minutes before/after the trading should stop. Also he will be able to select if he wants the current open trades to be closed before news, or current limit orders to be deleted
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
Hello everyone. I actually have a MT4 trading bot and need someone that can backtest and optimize the bot with 100% tick data. I will give you all the instructions to optimize the bot with the start, step and stop input to put on. Thank you
I want to turn the attached trade into a bot. It may be a little hard to udnerstand, in simple terms I want to trade at a turn around point following a fair value gap. I may want to add two switches: Buy / sell only Only trade within zone x-y these additions will allow me to check fundamentals for buy/or sell, and then only trade when im in support/resistance. You may know a better more profitable way of going about
Hello, I hope you're doing well. I recently developed a platform on TradingView, and I’m seeking assistance from a developer to guide me through the process. Based on the feedback provided, I will like you to help me make necessary modifications with it. Your expertise would be greatly appreciated! All Requirements will be sent via inbox. Thanks
Hello , I've developed a new trading view platform recently, and I'd like an expert to give me some feedbacks. I will try to modify it based on your feedback. Looking forward to the proficient proposal in the comment section
Hello. I'm going to develop quantower strategy. The strategy is follow: Short entry: when the candle open and close below the ema we take a short below the low of the candle Long entry: when the candle open and close above the ema we take a short above the high of the candle. when the trend doesn't get our way, in order to cover the loss; Short: open Long position at the High of the candle. Long: open Short position
Hello I have a piece of python code that connects telegram and pocket option, I need help running it and will update it before tomorrow speed is paramount.We can use anydesk for to connect my pocket option with telegram basically run the code, once that is done will give 2 updates on the code

Informazioni sul progetto

Budget
30 - 999999 USD
Per lo sviluppatore
27 - 899999.1 USD
Scadenze
a 30 giorno(i)