Create an Expert Advisor for strategy in BTCUSDm using MT4

指定

Input parameter:

  • Timeframe = 5 mins
  • ATR length = 5
  • Multiplier = 1
  • RSI length = 14
  • RSI Value =50
  • Lot size = 0.01 lots.


Strategy Rules

Bullish Trade Entry:

If the price crosses above the supertrend value and the RSI >50, and the volume of the current candle is higher than the average volume of the last 3 candles.

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)
  • RSI(1) > 50
  • Volume(1) > (Volume(2)+Volume(3)+Volume(1))/3


Bullish Trade Exit :

If the price crosses below the SuperTrend Value

  • Close(1) < SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)


Bearish Trade Entry

If the price crosses below the supertrend value and the RSI <50, and the volume of the current candle is higher than the average volume of the last 3 candles.

  • Close(1) < SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)
  • RSI(1) > 50
  • Volume(1) > (Volume(2)+Volume(3)+Volume(1))/3


Bearish Trade Exit :

If the price crosses above the SuperTrend Value

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)


Crosses above the condition

  • Close(1) > SuperTrend(1)
  • Close(2) < SuperTrend(2)


Crosses below the condition

  • Close(1) > SuperTrend(1)
  • Clsoe (2) > SuperTrend(2)


Terms should be used in such a way

  • Close(1) = previous candle (just closed)
  • Close(2) = candle before that
  • SuperTrend(1) = SuperTrend Value of previous candle (just closed)
  • SuperTrend(2) = SuperTrend Value candle before that
  • Volume(1) = Tick volume of the previous (just closed) candle
  • Volume(2) = Tick volume of the candle before the previous one


RSI(1) RSI value of the previous (just closed) candle


Note


1. Make sure all the entries and exits will take place at the close price of the candle just closed

Only One Trade at a time, means once the bullish Trade is exited, then only we will look for a bearish trade and vice versa.


2. For Indicator

For SuperTren,d build a custom Indicator that can be plotted in any chart and use it with the help of iCustom() inside the EA

For RSI, use the default function iRSI() inside the EA

For Volum,e also use the default function iVolume() inside the EA


3. Maintain a tradelog of every trade and export it to a CSV file after every trade.

Format for the Trade log.

Symbol | Timestamp | Entry Time | Entry Price | Exit Time | Exit Price | PnL | Cumulative PnL

After every trade exit, the data should be appended into the tradelog CSV file.


4. For Debugging purposes. I need the following data for every iteration.

Timestamp | close Price| Super Trend Value | RSI Value| Volume | Entry Condition (True/False) |Exit Condition (True/False)


5. There should be a separate function for calculating SuperTrend, RSI, Volume, and Entry and Exit. During the entry and exit condition check, the program should call the values ofthe above function and use them for condition checking


附加的文件:

反馈

1
开发者 1
等级
(68)
项目
124
40%
仲裁
17
47% / 53%
逾期
31
25%
已载入
2
开发者 2
等级
(621)
项目
972
47%
仲裁
32
38% / 34%
逾期
96
10%
已载入
发布者: 6 代码
3
开发者 3
等级
(268)
项目
396
27%
仲裁
38
39% / 50%
逾期
1
0%
空闲
4
开发者 4
等级
(55)
项目
80
23%
仲裁
24
13% / 58%
逾期
7
9%
工作中
5
开发者 5
等级
(47)
项目
66
38%
仲裁
5
20% / 40%
逾期
1
2%
工作中
6
开发者 6
等级
(12)
项目
13
23%
仲裁
7
0% / 71%
逾期
3
23%
工作中
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(263)
项目
592
35%
仲裁
64
20% / 58%
逾期
147
25%
空闲
发布者: 1 文章, 22 代码
9
开发者 9
等级
(23)
项目
45
20%
仲裁
25
28% / 48%
逾期
12
27%
空闲
10
开发者 10
等级
(2)
项目
2
0%
仲裁
3
0% / 100%
逾期
1
50%
空闲
11
开发者 11
等级
(373)
项目
479
23%
仲裁
57
56% / 25%
逾期
55
11%
已载入
12
开发者 12
等级
(102)
项目
154
20%
仲裁
22
9% / 77%
逾期
14
9%
已载入
13
开发者 13
等级
(7)
项目
12
17%
仲裁
12
17% / 50%
逾期
3
25%
空闲
发布者: 8 文章
14
开发者 14
等级
(304)
项目
544
35%
仲裁
77
31% / 42%
逾期
196
36%
已载入
15
开发者 15
等级
(77)
项目
240
73%
仲裁
7
100% / 0%
逾期
1
0%
空闲
16
开发者 16
等级
项目
1
0%
仲裁
1
100% / 0%
逾期
0
空闲
17
开发者 17
等级
(246)
项目
253
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
18
开发者 18
等级
(43)
项目
66
12%
仲裁
12
58% / 42%
逾期
1
2%
空闲
19
开发者 19
等级
(59)
项目
90
39%
仲裁
26
4% / 77%
逾期
40
44%
空闲
20
开发者 20
等级
(11)
项目
18
28%
仲裁
4
50% / 50%
逾期
1
6%
空闲
21
开发者 21
等级
项目
0
0%
仲裁
0
逾期
0
工作中
22
开发者 22
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
空闲
23
开发者 23
等级
(5)
项目
5
60%
仲裁
1
0% / 0%
逾期
2
40%
空闲
发布者: 1 代码
24
开发者 24
等级
(2622)
项目
3327
67%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
25
开发者 25
等级
(4)
项目
5
0%
仲裁
3
0% / 33%
逾期
1
20%
空闲
26
开发者 26
等级
(44)
项目
53
38%
仲裁
8
13% / 38%
逾期
8
15%
工作中
27
开发者 27
等级
(20)
项目
26
4%
仲裁
4
0% / 0%
逾期
3
12%
工作中
28
开发者 28
等级
项目
0
0%
仲裁
0
逾期
0
空闲
29
开发者 29
等级
项目
0
0%
仲裁
0
逾期
0
空闲
30
开发者 30
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Looking for NinjaTrader 8 Developer I’m looking for an experienced NinjaTrader 8 (C#) developer to build a custom indicator based on the Jackson–Dalton Trading System . Requirements: Jackson zones (Z1 / Z2 / Z3) VWAP with volume-weighted standard deviation Session volume profile (POC, VAH, VAL) Day-type classification Configurable alerts Support for BTC/USDT and ETH/USDT Clean, modular code with full source Optional
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
can you help me with making a simple tradingview/script that draws boxes labeling consolidation areas according to my specifications? IF anyone can help with this kindly do well to bid to this so we can discuss more about the project thanka
MetaTrader 5 (MQL5) için Expert Advisor geliştirecek TÜRK MQL5 yazılımcı arıyorum. 📌 Gereksinimler: - MQL5 diline hâkim (MT5 native) - Daha önce çalışır EA / indikatör teslim etmiş - Temiz, modüler ve yorumlu kod yazabilen - Debug ve backtest sürecine destek verebilen - Kaynak kodu (.mq5) teslim edebilen 📌 EA Özeti: - Kendi stratejime uygun işlem alacak - Xauusd ve SPX500 işlem alacak. - Günlük bias kontrolü
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -

项目信息

预算
30 - 100 USD
截止日期
 5 天