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
Commandes similaires
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
IM HERE FOR JUST 1 REASON! , to avoid all this software scams that people are selling here on market using this fake pumping backtest tryng to make some penny , i alredy have a good company and 300 loyal members but im looking for something more , if you are good at marketing or you are a person with REAL GOOD capital to invest not 300€ thinking to be milionarie in 1 year , then write me and lets do something . my
Deleting Folders which are Not in use . (Minor) (Two Folders) . Making Sure Technical Aspect is at par with Live Chart Executions . Validating Expert . Handling Environment Changes
Požadavky: platforma MetaTrader 5, jazyk MQL5; předání úplného a čitelného zdrojového kódu .mq5 a všech potřebných .mqh souborů; zákazů knihoven, DLL, vzdálených serverů a externí licenční kontroly; zákaz martingale, gridu, navyšování pozice po ztrátě a obchodování bez stop-lossu; výpočet velikosti pozice podle procenta rizika a skutečné měny účtu; nastavitelné maximální denní riziko a celkové čerpání; ochrana proti
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management