Sajjad Mohammad Nezhad Aghdam Tatooine Part 2

MQL4 전문가

작업 종료됨

실행 시간 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 코드
비슷한 주문
Mkiheme elite Bots 50 - 150 USD
I need a fully automated strategies trading futures, that works with pine scripts on tradingview.com . I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and
​Entry Rules: > * Open BUY when a Bullish Fair Value Gap (FVG) forms. ​Open SELL when a Bearish Fair Value Gap (FVG) forms. ​Risk Management: ​Every trade must have a Stop Loss and Take Profit. ​I want to be able to change these numbers in the settings. ​Mobile Features: ​The bot must send a "Push Notification" to my phone app for every trade. ​Assets: ​Must work on WTI Oil and Bitcoin
I am looking for a reliable and well-developed Expert Advisor (EA) that demonstrates low drawdown and consistent profitability on a real trading account . If you have already built such an EA, I would be interested in evaluating it. I would require: Verified backtest results Forward testing performance (demo or real account preferred) Ideally, a live track record (Myfxbook / FXBlue or similar) I am serious about
🏆 HIRING: Quantitative Gold (XAU/USD) Trading Strategy Developer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 PROJECT OVERVIEW ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ I am building a professional trading signal platform (xtraderlab.com) and need an experienced quant trader or algo developer to design, code, and backtest a high-performance intraday Gold (XAU/USD) trading strategy. The strategy will be integrated into an existing
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
i am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes. The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define

프로젝트 정보

예산
125 USD
기한
에서 1  20 일