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 코드
비슷한 주문
Infinity 30+ USD
Gold Guardian EA (MT5) Entry Strategy Trade only XAUUSD. Default timeframe: M5. Buy when: 20 EMA crosses above 50 EMA. RSI (14) is above 55. ADX (14) is above 25 (strong trend). Sell when: 20 EMA crosses below 50 EMA. RSI (14) is below 45. ADX (14) is above 25. Only one open trade at a time. Risk Management Risk 1% of account balance per trade (adjustable). Automatic lot size based on stop-loss distance. Daily loss
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
Project: Fib Grid Entry — Automated Trading Strategy (Sierra Chart / ACSIL, C++) I need a Sierra Chart custom study (Advanced Custom Study, C++/ACSIL) that automates a Fibonacci-based split-entry strategy. The core idea: I draw a Fibonacci Retracement on the chart by hand using Sierra Chart's own Price Retracement tool (Tools → Price Retracement), and the strategy should read that drawing's two anchor points
Online Ordering System para sa Milk Tea Shop* *1. Layunin ng Project* Gumawa ng website at mobile app kung saan makaka-order ang mga customer ng milk tea online. Para hindi na pumila at para mas madali i-track yung mga orders. *2. Mga Kailangan / Features* - *Para sa Customer:* - Mag-register at mag-login gamit ang email at number - Makita ang menu na may picture, presyo, at description - Makapag-customize ng
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I need a custom MT5 Expert Advisor (MQL5) for XAUUSD. Strategy: 1. Trend Filter (H1) - EMA 20, EMA 50 and EMA 200. - Buy only when EMA20 > EMA50 > EMA200 and price is above EMA200. - Sell only when EMA20 < EMA50 < EMA200 and price is below EMA200. 2. Confirmation (M15) - M15 trend must confirm the H1 trend before taking any trade. 3. Entry (M5) - Wait for price to pull back to EMA20 only. - After touching EMA20, wait
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never

프로젝트 정보

예산
125 USD
기한
에서 1  20 일