Expand ENUM_TIMEFRAMES predefined timeframes PERIOD

MQL5 다른

명시

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.

응답함

1
개발자 1
등급
(173)
프로젝트
201
49%
중재
18
11% / 44%
기한 초과
1
0%
무료
3
개발자 3
등급
(219)
프로젝트
370
42%
중재
145
17% / 41%
기한 초과
124
34%
무료
4
개발자 4
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
비슷한 주문
A “grid” display style like the attached image. User can choose up to 3 EMA’s to monitor on up to 6 Time Frames. If the EMA slope is greater than 0 = Green If the EMA slope is less than 0 = Red If the EMA slope is 0 = Black The grid should be customizable on it’s size, colors, and placement on the chart. Each EMA should update per tick. A label at the top of the grid should read “SLOPES” Indicator 2: A “grid” display
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
I need a programmer for converting a MetaTrader indicator into ea for TradeLocker. Additionally, I would like to have a new EA built in TradeLocker that mirrors the logic of the original MetaTrader, including the specific rules and conditions I need. Please contact me only if you have prior experience converting scripts from MetaTrader to TradeLocker
Hello, How are you doing? I want an EA that will send trade signals from my MT4 to my Telegram channel. So whatever trade I take on MT4 I want the EA to then automatically send the trade details of the trade I took to the Telegram channel in a message right away. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
I've use most of code from this script, add some more filter, and added different kind of moving avg instead of rsi input .. please check the source code .. . 70-80% is similar to it. Please check can you convert And are you familiar with backtest.py library? Oky. This library has ML approach to get the optimized backtest parameters right ? included for this but let me know what you think? can you install backtest.py
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks

프로젝트 정보

예산
30 - 999999 USD
개발자에게
27 - 899999.1 USD
기한
 30 일