EA with Panel that uses Telegram Messages To Trade with specific conditions and risk management

指定

Requirements for an Expert Advisor that reads messages from a Telegram group and place trades according to it:

 - The EA basically needs to read messages containing trading instructions during the day that are posted in a Telegram group, 
and place market orders, stop or limit orders according to it, and manage the open trades according to more messages that arrives during the day, saying to add average orders, add breakeven, take profit, stop gain, stop loss and close the order. If it does not identify a TP, SL or another needed condition, it will set the standard inputs set by the user on it.
This may be performed in a hedge account type, so please leave to option to work with multiple positions, because we will have averaging.
Another requirement are that the Take Profits shall be Limit Orders, to avoid slippage. If using hedge account option, then the EA will use the Close By function to close the orders in case the TP is hit.
 - I will be trading at a local centralized exchange in my country, and the messages are in local language, but don´t worry. The user will type in the EA settings what are the possible words for each function.
I´ll type below some examples of words and combination of words to look for. It can be changed, reduced or added by the user of course:

 - The key combination of words that it needs to read on the message to understand what it has to do are:
1 - If it reads "compra" and "mercado", or "alta" and "mercado", it means "buy" and "market", so the EA must place a Buy trade at market 
(These words can be separated with another words in the middle, so the EA can ignore words that it does not recognize on each line, but usually they don´t mean any extra thing).

1.1 - In this same message, or the next one, it also usually says the size of the Take Profit which could be for example: "50" and "pontos" (or just "50" alone, without saying "pontos", the user can set if it is a combination of words or just one, and they may not be in a sequence), which means "50" and "points" in this case. 
TP for Market Orders are usually 100 points if it is not stated. But if it is stated, then the EA, after identifying the "compra" and "mercado", it shall look for the TP by searching for a number with 2 or 3 digits maximum, followed by the word "pontos" or not.
The message may have the word "ganho", "lucro" or "gain" (gain in English too) after the "50 pontos" for example. So this can be left as an option for the user to define if the EA shall also look for the word "gain" or not to identify the TP.
If the EA cannot find the TP, or if the user chooses not to find a TP for this type of order, then it can use a standard TP for market orders set by the user.

2 - If it reads "venda" and "mercado", or "queda" and "mercado", it means "sell" and "market", so the EA must place a Sell trade at market 
(These words can be separated with another words in the middle, but usually they doné mean any extra thing).

2.1 - In this same message, or the next one, it also usually says the size of the Take Profit and for example "50" and "pontos" (may not be in a sequence), which means "50" and "points" in this case. 
TP for Market Orders are 50 points if it is not stated. But if it is stated, then the EA, after identifying the "venda" and "mercado", 
it shall look for the TP by searching for a number with 2 or 3 digits maximum, followed by the word "pontos" or whatever word is set by the user.
The message may have the word "ganho", "lucro" or "gain" (gain in English too) after the "50 pontos" for example. So this can be left as an option for the user to define if the EA shall also look for the word "gain" or not to identiry the TP.
If the EA cannot find the TP, or if the user chooses not to find a TP for this type of order, then it can use a standard TP for market orders set by the user.


3 - If the message says "compra" (buy) or "venda" (sell) and then a 4 or 5 digit number (it can have another words between them) and/or says "start" or "limite", it means to place a trade at an specific price point. 
In this case we can have 4 scenarios that I will show as examples below:
   "compra" or "alta" (buy) and a number as "100200", considering as an example that the current price of the asset is 100000. So this will mean that the EA needs to place a Buy Stop Order at the price of 100200.
   "compra" or "alta" (buy) and a number as "98800", considering as an example that the current price of the asset is 100000. So this will mean that the EA needs to place a Buy Limit Order at the price of 98800.
   "venda" or "queda" (sell) and a number as "100200", considering as an example that the current price of the asset is 100000. So this will mean that the EA needs to place a Sell Limit Order at the price of 100200.
   "venda" or "queda" (buy) and a number as "98800", considering as an example that the current price of the asset is 100000. So this will mean that the EA needs to place a Sell Stop Order at the price of 98800.
3.1 - If one of the conditions above happens, then the EA after opening one of the types above, shall look at the same message, or next one, for the gain or stop loss.
3.1.1 - The gain can be identified in the case by the word "gain", "ganho" or "lucro" or whatsoever the user wants and a quantity of points "for example, 500" or a 4 or 5 digit number, stating where the TP will be located. 
The user can also have the option to manually set a gain in points for this type of order.
If the EA does not find a 4 or 5 digit number, but a 2 or 3 digit number, than that will be the number of points for the gain from the order opening price, obeying the same condition as itens 1.1 and 2.1 above.
3.1.2 - The stop loss can be identified in the case by the word "stop" and a 4 or 5 digit number, stating where the SL will be located. 
If the EA does not find a 4 or 5 digit number, but a 2 or 3 digit number, than that will be the number of points for the SL from the order opening price, obeying the same condition as itens 1.1 and 2.1 above.
The user can also have the option to set a Stop Loss in points for this type of order.

4 - Trading on Market Auction: The EA can also trade just right after the Market Auction, when it opens everyday. The Market Auction starts at 8:55 and we will have a bid>ask condition. The Auction can go on until 
the price is defined (usually at 9:00~9:05 server time). So while bid>ask, we can received messages that will say if we must buy ("compra" ou "alta") or if we must sell ("venda" or "queda"), but no order shall be placed until the auction is over (bid<ask) and the trading starts.
In this case we will trade market orders only. Take Profit is usually set at 125 points (or set by the user).
and the Stop Loss at 250 points (or set by the user).
4.1 - During the Auction or just after it happened, we may receive messages with the word "arrastar" (slide or move in English) ou "arrasta" ou "arraste" and a 4 o 5 digit number, which will mean that the EA needs to
move the current buy limit or sell limit order to that new position. The TP and SL will move along too as expected.


In sum, there are basically 3 important features:


1 - Leave an option for the user to change the words the EA needs to read for each type of trade function, 
in a field and separated by comma or another sign. For example, for the function of buy at market order, 
we have "compra" and "mercado", so in this field we would have compra;mercado;.
But if the user wants it can change the words to look for, add or reduce the number of words to look for. 
For example, he could change to "alta" and "agora" by typing alta;agora; or add a third word to look for, 

like alta;mercado;agora;. The user needs to be free to set the words he wants the program to look for all the types of operation above.

2 - We must have a Panel to support the user on ths risk management settings and trade settings. In this panel he needs to see and be able to modify:

2.1- Size of Standard TP;

2.2- Size of Standard SL;

2.3 - Risk Size of the trade, with 3 options:

2.3.1 - Set by an amount of money for a defined TP. In this case the Lot/Contract size is calculated according to the TP size and the amount of money the user wants to win. For example, if the TP is 100 points, and the contract value of each tick/point is 0.2 USD, and the user wants to win 100 USD in case it hits the TP, then the EA calculates 100 USD / (100 pt x 0.2) = 5 Lot/Contracts for the next trade.

2.3.2 - Set by an amount of money for a defined SL. In this case the Lot/Contract size is calculated according to the SL size and the amount of money the user wants to win. For example, if the SL is 500 points, and the contract value of each tick/point is 0.2 USD, and the user wants to lose nor more than 100 USD for each trade single in case it hits the SL, then the EA calculates 100 USD / (500 pt x 0.2) = 1 Lot/Contracts for the next trade.

2.3.3 - Set just by a single Lot/Contract for any position, entered by the user.

2.4 - Result in money of Todays Trades;

2.5 - Result in money for this week Trades;

2.6 - Result in money for this month Trades;

2.7 - Daily profit target set in money, which after it reachs the EA stops trading for the day.

2.8 - Daily loss tardet set in money, which after it reachs the EA stops trading for the day.

2.9 - Trailing Start: Define a trailing start point, which after the EA will move the SL of the order according to it. If more orders are opened due to averaging, the EA will use the average price of all positions accordingly.

2.10- Trailing Stop: Define the price of the trailed SL from the current price to move. If more orders are opened due to averaging, the EA will use the average price of all positions accordingly.



3 - Option to request confirmation of the user before placing any trade. So in case there is a new Telegram message with a signal, the EA will open a pop-up with the signal information it was able to detect, and asking if the user wants to proceed and open the trade. It also have an option to send a push notification for each pop-up opened, or action done by the EA, and the result of a trade/trades when it is closed.



How to do the averaging:


   - If we have an open order, and a new message is received with a "compra" (buy) or "venda" (sell) and the word "mercado" (market) or the word "mais" (more), 
it means an instruction to open another order of the same type of the current order, averaging the position. Up to 6 can be opened (it can be set by the user).
So after receiving instructions to open a buy or sell averaging order at market, the EA must calculate the average position, and correct the TPs and SLs of the opened orders according to it.
The TP can also change if an order starts to be averaged, so in case in same message that opened the averaging order, or the next message, it shows a 2 or 3 digit number and the word "gain", "ganho" or just a 2 or 3 digit number like "50" or "100", 
then the TPs can be set to this new instructed position. The averaging TPs can also be set by the user. The user can set if SL will be recalculated considering all opened positions, setting a new SL for the average position, or if it will keep the old SL for all new opened positions.


Other words that may appear on new messages that will also cause actions in the EA:

   - If the EA reads the word "Stopou" in a new message, it means that the trade (and averaging trades) were closed with a stop loss. If the current trade wasn´t already closed or reached the stop loss, 
the EA can close the order and averaging orders immediately after reading the word "Stopou". this word can be set by the user.
   - If the EA reads the word "gain" or another word set by the user alone in a new message, it means that the trade (and averaging trades) were closed with a gain. 
If the current trade wasn´t already closed or reached the take profit, the EA can close the order and averaging orders immediately after reading the "gain" words above.
   - if the EA reads the word "stop gain" or "0x0" or "0 x 0", it means that the EA will need to set a break even on the current trade or averaging position trades. 
The trigger to set the breakeven in points, if the EA read one of the words above, can be set by the User, and the breakeven position can be 5 points or set by user as well.


That´s it. I tried my best to explain it all so it got a little big in text, but it is simple EA. Please fell free to ask for any clarification. Thanks!

反馈

1
开发者 1
等级
(90)
项目
136
14%
仲裁
43
21% / 28%
逾期
14
10%
空闲
发布者: 2 代码
2
开发者 2
等级
(208)
项目
297
54%
仲裁
0
逾期
1
0%
空闲
发布者: 6 代码
3
开发者 3
等级
(24)
项目
34
15%
仲裁
2
0% / 50%
逾期
8
24%
空闲
相似订单
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
READ CAREFULLY And if you have done 50 projects before then apply others i will reject SEPARATE LOGIC MUST BE SEPARATE AND ALL INPUTS MUST BE VISIBLE WITH FALSE TRUE OPTION TO ON OFF FUNCTION 🔺 BUY Signal (Boom Market) ✅ Pattern Formation (Spike-Based Buy Setup) First Spike : Large bullish spike candle . Mitigation Candle : Small bearish candle inside or partially inside the bullish spike. Second Spike
Bainanans 500+ USD
Bainanan good f المؤشر. ينبغي إضافة نقطة صفراء عند أعلى نقطة في الشموع في منطقة ذروة الشراء - وهي نقطة H. ينبغي إضافة نقطة خضراء عند النقطة المنخفضة للشموع في منطقة ذروة البيع - وهي نقطة L. إذا وُجدت نقطة L واحدة على الأقل بين نقطتي H، فابحث عن نقطة LL في الفترة الفاصلة بينهما. ستكون الشمعة ذات أدنى سعر قاع هي نقطة LL. بشكل عام، لا تُعتبر نقطة LL بالضرورة نقطة L. ابحث عن الشموع ذات أدنى سعر قاع. إذا كانت هناك نقطة H
Døsh forex 30 - 200 USD
I want a robot that will help me and trade the the robot will be very good I don’t want to loose money I repeat I don’t want to loose money
Precision Shift EA 100 - 500 USD
Use the Daily (D1) chart as the higher timeframe reference. On the H1 timeframe, monitor for a sweep of the previous day’s high or low. A sweep means that price takes liquidity above or below the previous day’s level and then shifts back inside. After a sweep on H1, drop to the M5 timeframe. On M5, wait for a Change of State in Delivery / Market Structure Shift (CHOCH/BOS) to confirm entry. If the sweep occurs above
I need developers that can create thinkorswim indicator or scanner Possibly a long term developer for my subsequent projects, I work with some clients that requires thinkorswim project created for them. Look to hire a TOS developer for my works
I need a custom options scanner built with the following features: Scan ATM call or put options with the same expiry . Filter for open interest ≥ 175 . Expiration between 1 to 60 days . Underlying stock price between $5 and $175 . Use mark price for calculations. Results should be sortable by debit or credit . Scanner should include ETFs as well as stocks . Goal: A simple and efficient scanner that quickly identifies
Ai spike Indicator 30 - 35 USD
Create an Ai based indicator that is able to identify sudden market movements known as spikes on boom and crash indices on the deriv market. The Ai should incorporate these strategies for better precision on getting signals, these strategies include support and resistance on 4 hour time frame SMC, CRT, ICT, Strategies volume trend, volatility pure price action tick velocity, momentum and key points on fibbonacci tool
I need to develop a GUI for a Datetime picker to be used with my Trade Manager EA. The developed tool should be a library I can use with my current Trade Manager EA that am developing. Find attached summary specification..... Unzip the file to read the pdf
Here are the requirements for a potential developer: 1. *Task*: Create a detailed specification for image editing tasks. 2. *Key Features*: - Describe the type of image (e.g., photo, graphic). - Specify edits (add, remove, change elements). - Define desired output format and resolution. 3. *Deliverables*: - A clear, concise document outlining the task. - Estimated complexity and cost assessment. -

项目信息

预算
72+ USD
开发人员
64.8 USD