EA_MT5_CTF_SS2_v1

MQL5 指标 专家

指定





EA_MT5_CTF_SS2_v1



An EA to generate MT5 Custom Timeframes,
Handle Robust Data Downloading,

and Write SS2 Global Variables Every X Seconds.




Hi Raymond,

The MT5 version of the SS2 indicator you converted is in the folder. This indicator currently works on all of the 21 native included MT5 timeframes.

As the result of this Job, I would please like you to create an EA capable of doing the following things:

1) Create 28 CustomTimeframes based on the settings in the EA User Interface.

2) Check that enough bar data exists to correctly run the SS2 data and attempt to download it if not enough data exists in local memory.

3) Write SS2 global variable values for each of the 28 currency pairs.

4) Update these SS2 values every X seconds, where X is a number of seconds set in the user interface.



1) Create 28 CustomTimeframes based on the settings in the EA User Interface.


When this indicator is placed on a chart I would like it to automatically create 28 new custom time frames based on the information in the BaseTimeFrame: and the TimeFrameMulti: inputs in the EA user interface section.

BaseTimeFrame: DropDownBox -> SelectOne

01M
02M
03M
04M
05M
06M
10M
12M
15M
30M
01H
02H
03H
04H
06H

08H
12H

01D
01W

MN1 is not an option here.


TimeFrameMulti: This field takes an Integer between 1 and 99


A number above 99 generates a pop up box saying: Only integers < 99

Lets suppose the user is interested in creating a 45 Min timeframe.

They select 15M with a multiplier of 3.


The indicator takes these two inputs and Prints

"Attempting to create 28 00045 timeframes."

Where the number with three leading zeros and a 45 represents a 45 Min timeframe.

As a second example:

A Week is 10080 Min, so selecting a Week TimeFrame with a multiplier of 2 would produce a statement like this:

"Attempting to create 28 20160 timeframes."



2) Check that enough bar data exists to correctly run

the SS2 data and attempt to download it if not enough data exists in local memory.


Please check that enough data is available in each of the 28 custom time frames to accurately create the SS2 values for each of the 28 currencies. If not enough data is available, the indicator should attempt to get more data from the server and gracefully report success or failure of the downloading attempt.

If enough data is available to produce the SS2 values, the EA should next print:

"Enough data exists to accurately create all 28 SS2 values."

If not enough bar data exists in local memory to accurately create all 28 SS2 values, then the EA should print:

"Not enough data exists to accurately create all 28 SS2 values, attempting to download more data..."

Depending on the result of the download attempt the EA should print one of two statements:

"The additional data request was successful, enough data now exists to create all of the 28 requested SS2 values."

Or:

"The additional data request was unsuccessful, please choose another custom time frame."

Assuming that there is enough data to create the SS2 data on the requested custom time frame, the EA should now generate 28 custom time frames with the custom time frames employing a naming convention that looks like this:

XXXXXX00045

Where XXXXXX stands in for each of the 28 currency pairs that the SS2 indicator deals with by default, for example:

GBPUSD00045
EURUSD00045


+ 26 more custom symbols would all be created in order to set up the 45 Min custom time frame in such a way that it can be accurately used by the SS2 indicator.








3) Write SS2 global variable values for each of the 28 currency pairs.


The SS2 indicator is CPU intensive. Therefore, we would only like to employ a single instance of the indicator for every instance of this EA. For example, for the 00045 min timeframe, the EA should seek a version of the MT5 SS2 indicator (included in the job folder) with the following title:

OMOLG_MT5_SS2_00045

Then, depending on the result of attempting to find the indicator with this specific title in the indicator list , the EA should write:

The indicator OMOLG_MT5_SS2_00045 was successfully found.

Or

Please create a version of the MT5 SS2 indicator with the title OMOLG_MT5_SS2_00045.

The next task of this EA is to write 56 global variables that are titled like this:

gbl_SS2_1_USDCHF00045 (Fixed SS2 Value for Bar 1)

gbl_SS2_0_USDCHF00045 (Currently Updating SS2 Value for Bar 0)

gbl_ -> Indicates that this is a global variable of the terminal
(a positive or negative double value with two digits after the decimal)

SS2_ -> This indicates that the values are the slope values coming from the SS2 indicator

1_ or 0_ -> This indicates that the value is coming from the zero (presently forming) candle or else from the fixed-value 1 candle.

USDCHF-> This indicates one of the 28 currency pairs output by this indicator

00045 -> This five digit number indicates the number of Min that the SS2 slope value is associated with. For example, 00045 would represent the slope of the 45Min timeframe.


4) Update these SS2 values every X seconds,

where X is a number of seconds set in the user interface.


Finally, please include a SecondDelay: section in the user interface that takes an Int indicating the number of seconds that should pass before these 56 custom time frame SS2 values are updated.

SecondDelay:
63

Would mean that the EA updates all 56 global variables every 63 seconds.


After the EA has created all of the 28 custom timeframes, it should create the gbl_ values without first waiting for 63 seconds to pass. In other words, the EA should write these gbl_ values as soon as possible after the timeframes are created, and then every X seconds after that, where X is the integer in the SecondDelay input field.


反馈

1
开发者 1
等级
(144)
项目
199
42%
仲裁
20
25% / 55%
逾期
10
5%
空闲
2
开发者 2
等级
(284)
项目
459
39%
仲裁
94
44% / 18%
逾期
73
16%
已载入
发布者: 2 代码
3
开发者 3
等级
(574)
项目
945
47%
仲裁
303
59% / 25%
逾期
125
13%
空闲
相似订单
I am good in coding. I am a Quant Developer in a Company. I like to create the idea in to code. I love to code in C++, Python and MQL
General information: EA have to have possibility to modify working hours(3 times a day) for each RULE for example to be able to set : 8:00-11:00, then 13:00 to 16:00, then 19:00 to 22:00. (just an example for you to understand, 3 options). EA have to work on XAU/USD pair. Entries will be taken on M30 interval. H1 interval for trend(it will determine if we hold positions longer or close early at 50pip). If EMA 6 >
im starting to think more that short term scalping on m1 or m5 could work well if we can get around the spread size issue. does anyone have experience of this, or even have any EAs that work on the short term in and out in a few seconds or minutes? I have an idea using a grid and a pair of buy/ sells possibly opened at the same time with different lot sizes, trend following where the winning trades are used to write
I need an Expert advisor based on AOX signal . it must have check and handing of trade operation..errors. The main criterin for opening and dosing a position : moving average direction the price is higher than the previous bar Trade lots is input parameter bar
Hello I need an include file for prop trading. That means I want to include it in all of my EAs. For the news filter we use forexfactory.comThe inputs will be: Max. DD in % per day: 2 Max. Profit in % per day: 2 News Filter: True/False News Impact: Low/Medium/High Stop trading x Minutes before News: 10 Stop trading x Minutes after News: 10 Hold Trades through news: True/False Hold Positions overnight: True/False
Specification I am looking for a developer to create a custom one-click trading tool (EA) for MT5 , inspired by PZ Trade Pad Lite ( reference link ). The standard MT5 one-click trading and PZ Trade Pad Lite are useful but do not fully suit my needs. I require an EA that allows me to place trades directly from the chart with specialized entry rules, automated stop-loss/target placement, and risk management for BTCUSDT
I have a working strategy for Boom and Crash and need a programmer to build an MT5 Expert Advisor (EA) that trades on the 1-Minute timeframe . Key Requirements: Developer should have at least basic knowledge of Boom and Crash trading. EA must work only on candle ticks for Boom and Crash. The EA will receive trade alerts from my indicator and automatically open trades based on those alerts. No duplicate trades should
20 EMA Xauusd 30+ USD
I need a robot which open buy order when price cross above 20 ema , and open sell order when price crosses below 20 ema on 15 minutes time frame. 20 pips stop loss. 20 pips Target. I need robot in which i can change lot size as i wish
I want to.replocate this idea 💡 it's, on YouTube as well. If you can make this idea into an ea.to backtest that would be good. Once you can do this I can give you the rules for entry. Just state whether you can do it or not it would be good if you just give me an example based on the last heiken ashi bar colour no problems. State the price to do it aswell
i want to create EA with smc wave trend indicator for mt4&5 Trend Identification: The EA uses built-in indicators to determine if the market is in an uptrend or downtrend. Signal Generation: When a trend is confirmed, the EA generates a signal for a buy or sell trade. Automated Trading: The EA automatically places orders based on the signals, often entering trades at specific points within the trend. Trade

项目信息

预算
120+ USD
开发人员
108 USD
截止日期
 12 天