Complete my pseudo code for a very simple short strategy

MQL4 Experts

Termos de Referência

Hi Hooshang!

I‌ found great reviews about you, I hope you can help me with my code.

I‌ was a software engineer too but that was quite a long time ago.

Im new to trading thus new to trading language.

Over a couple of months studying the charts, I just have a thought of a strategy that might work.

I have laid out my strategy in pseudo code already, around 60-70 lines only. Im mostly leaving out the forex code predefined functions because im not familiar with lots of simple terms in forex(not even talking about coding).

 

Sample of code i need functions are as follow (this is mostly the bulk of the work, the rest would just be setting up the order and a little error handling):

‌// Determines if it is trading time based on TradeSchedule input

bool InTradeSchedule()

{

bool isInTradeSchedule = false;

// Get TradeSchedule[] input

// TODO: Determines if it's trading time

return (isInTradeSchedule);

}


// Returns count of opened positions

int OpenPositionCount()

{

// TODO: Returns count of opened positions

return (_openPositionCount); 

}


// Determines if Account Funds is enough though MaxOpenPosition input and 1% risk

bool IsSufficientAccountFunds()

{

bool isSufficientAccountFunds = false;

if OpenPositionCount() <= MaxOpenPosition

{

// TODO: 1% risk

}

return(isSufficientAccountFunds);

}

What I expect is a working code of course :) I also want the source code not just a complied lib.

C‌an you help me?

Respondido

1
Desenvolvedor 1
Classificação
(253)
Projetos
358
49%
Arbitragem
24
25% / 50%
Expirado
80
22%
Livre
2
Desenvolvedor 2
Classificação
(461)
Projetos
688
56%
Arbitragem
43
30% / 33%
Expirado
110
16%
Trabalhando
3
Desenvolvedor 3
Classificação
(53)
Projetos
79
18%
Arbitragem
13
15% / 54%
Expirado
5
6%
Livre
4
Desenvolvedor 4
Classificação
(11)
Projetos
10
0%
Arbitragem
7
0% / 43%
Expirado
1
10%
Livre
5
Desenvolvedor 5
Classificação
(25)
Projetos
36
17%
Arbitragem
14
14% / 57%
Expirado
3
8%
Livre
Pedidos semelhantes
PRESQUE PAREIL QUE L’AUTRE ROBOT AVEC QUELQUE PETIT CHANGEMENT. IL N’Y AURA PLUS DE SL; SI TU PEUX M’ENVOYER TON MAIL, JE T’ENVOIE LE DOCUMENT QUI EXPLIQUE LE MODELES DU ROBOT QUE JE VEUX. @page { size: 8.27in 11.69in; margin: 0.79in } p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
Hello I need an indicator edited . So I need the ichimoku indicator edited to show when the kijun -Sen and tekan- Sen are both pointing up and the chikou have to be above candles and Senkou span A have to also be pointing up I need an up arrow vice versa for sell. I will need a alert when that happen as well
Mt4 EA 30+ USD
Would it be possible to get a reasonable quote for an MT4 EA with multiple trade entry criteria. With the help of chatgpt I've got a code that compiles without errors or warnings that I have attached in a zip file, it is simply not taking valid trade signals. Not sure if it's of any use to you or if it's better to start from scratch. talk soon
1. **Open Buy Order:** Open a buy order each time the price moves 2 pips positive. 2. **EA Identification:** Assign the magic number 246135 to the EA to identify the trades carried out. 3. **Stop Loss:** Set a stop loss of 1 pip for all orders. 4. **Breakeven:** When the trade is positive by 1.5 pips, move the stop loss to breakeven. 5. **Position Size:** The position size will be set to 0.1 lot
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
I trade in future indices of a Brazilian brokerage via MT5 and would like to import the data of another future index (djia future - which does not exist at the brokerage where I operate) into a new window, showing its price and volume variations in the shortest possible time. This new Symbol should also have the capability to be displayed in candlestick mode and adjustments in its timeframe. I will use an indicator
I have an EA with the sourse code but instead of using an FX blue copier to invert the trades i want the EA to reverse its Strategy. For example if the EA wants to buy it will sell. And the stop loss and take profit will be inverted also
Hi I'm looking for a developer who can improve on an existing basic EA that isn't quite working correctly due to a lack of comprehension from the previous coder on the logic. It's a hedging system that trades in the opposite direction to a bad entry by entering every x pips until the average of all the bad trades and the good trades are in profit. It then closes all of them at the same point which is in profit by x
Hello everybody I would like to modify an existing indicator. I want to create a Dashboard that will display alerts created by my personal indicator called TREND. It will have to display alerts created on several timeframes and for several currencies. Each currency will need to be able to modify its own TREND indicator settings. The TREND indicator settings will be accessible by double-clicking on the currency name
I need a Martingale Expert Advisor that can hedge using Pending Order Grid. It will use indicators such as stochastic oscillator and moving average. I will provide details when you contact me

Informações sobre o projeto

Orçamento
40 - 50 USD
Desenvolvedor
36 - 45 USD
Prazo
de 12 dias