Sajjad Mohammad Nezhad Aghdam Tatooine Part 2

MQL4 EA

작업 종료됨

실행 시간 5 일

명시

The only part that is a little different is 18.14, as I re read everything and was not clear enough. 

 

 

18.14) Recording the Entry Position

Every time Tatooine gets into a new position, it writes the position to a file called LogFileTxt.txt in the files folder.

*****EntryPostionName*****

EntryName:Tatooine

EntryTimeFrame:1440


This information should be written to LogFileTxt.txt


"01_Tatooine","GBPUSD",1440, 1.4187,"LONG","STOP","1.4181"


In other words:


"POSITION_ENTRYNAME",

"ASSET",

TIMEFRAME NUMBER,

PRICE,

"DIRECTION",

"STOP", (The Word STOP is the variable Name)

"STOPLOSS" (The actual stop loss number is the value here)

Thus, if Tatooine enters long a second time in a row, we should see a
"02_Tatooine" entry.

UPDATE for Tatooine V 1.0 - Clarification on ONLY NATURAL STOPS for positions that are not TAKEN.

In other words, Let's say the Tatooine buy algorythm has started going along untill it gets to position 01 Long 1D GBPUSD. However, let us further suppose that the Position is set to 2. This means that Tatooine will NOT be investing in position 1. Another Example: if SELL ONLY is set to true, then Tatooine will NOT be investing in in any Long positions, OK?

When Tatooine does not invest in a position, it does not have to set a fixed stop, or add additional pips to a natural stop, or use a jump stop. Instead, it only has to record the natural stop to the log.

Remember, the Natural Stop is written in the SmallBuy.txt and SmallSell.txt files, like this:


2016.04.18 12:35, 1.41870, 1.41811

DATE TIME, ENTRY PRICE, NATURAL STOP LOSS PRICE

When a natural stop is taken, Tatooine prints the following:

01 Long GBPUSD 1D 2016.04.18 12:35, 1.4187 was not taken, just recorded.
The natural stop was 1.41811. If this virtual stop is hit, Tatooine will move on to

take postion 02.




So, instead of placing a stop with the broker, Tatooine remembers the virtual stop of


1.41811


If the position is LONG and the price falls BELOW this number, then the virtual stop has been hit. If the position is SHORT and the price rises ABOVE this number, then the virtual stop has been hit.

Tatooine reports like this:


01 Long GBPUSD 1D 2016.04.18 12:35, 1.4187 has hit the virtual stop of 1.41811 and so is now searching for position 02



파일:

응답함

1
개발자 1
등급
(103)
프로젝트
205
41%
중재
17
29% / 71%
기한 초과
45
22%
무료
2
개발자 2
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(219)
프로젝트
370
42%
중재
145
17% / 41%
기한 초과
124
34%
무료
게재됨: 38 코드
비슷한 주문
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
I am looking for an experienced MQL5 developer to modify an existing Expert Advisor by adding an automated hedging module. The existing EA is fully functional and already manages trade entries and exits. The objective of this enhancement is to introduce a risk management feature that automatically opens a hedge position when an existing trade reaches a predefined unrealized loss in USD. The hedge should remain active
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades

프로젝트 정보

예산
125 USD
기한
에서 1  20 일