INVITE-ONLY SCRIPT
업데이트됨 AIMS Algo

AIMS ALGO: A Comprehensive Trading Tool 🚀
1. Overview
AIMS Algo is designed as a versatile tool on TradingView. It helps traders generate signals, automate trades (via PineConnector), and analyze strategies through backtesting. This script includes robust risk management features and various customization options.

This strategy is the culmination of 14 years of live manual trading experiences and refinements. Initially developed for trading the DAX during the London open using simple logic, over a decade and a half of continuous improvement has brought it to its current form. The strategy may seem too good to be true, but it has been perfected through trial and error. Now, it's your chance to unleash the full potential of this algorithm.
---------------------------------------------------------------------------------
2. Key Functionalities
---------------------------------------------------------------------------------
3. Core Features
3.1 Backtesting Capabilities
3.2 Stop Loss Methods
3.3 Dashboard Display
A real-time dashboard appears in the top-right corner by default. It provides quick performance statistics, such as net profit, drawdown, profit factor, and win rate.

---------------------------------------------------------------------------------
4. Indicators and Filters
This script employs a combination of standard technical indicators and specialized components inspired by Trading Chaos Theory. Each indicator serves a unique purpose in identifying potential trade entries, exits, and overall market conditions. While they can be powerful tools, no single indicator guarantees future performance.
-
---------------------------------------------------------------------------------
5. Advanced Take Profit & Stop Loss Methods
---------------------------------------------------------------------------------
6. Trade Management
---------------------------------------------------------------------------------
7. PineConnector Settings
---------------------------------------------------------------------------------
8. Indicators Used
AIMS Algo combines standard technical indicators and custom logic:
---------------------------------------------------------------------------------
9. Advanced Features
9.1 Slippage Management
Slippage is an important factor to consider in live trading, as market prices can move between the time you place an order and when it is executed. By including a slippage option in this script, traders can specify the amount of slippage they expect or are willing to accept on their trades. This helps ensure your backtesting more closely mirrors real-world conditions.
---------------------------------------------------------------------------------
10. DAX40 Scalping Strategy: Default Properties and Inputs
This strategy ships with default settings optimized for a DAX40 scalping approach. Always adjust to personal risk tolerance and market conditions.
10.1 General Defaults
10.2 Colors
10.3 Trading Session Window
10.4 Risk Management
10.5 Position Scaling & SL/TP
10.6 Order Buffers & Offsets
10.7 Signal Management
10.8 Signal Filters
10.9 Extra Options
10.10 Dashboard/InfoBox
10.11 Slippage Management
10.12 PineConnector Integration
---------------------------------------------------------------------------------
11. The Strategy Principles We Followed
11.1 Entry Conditions
Long Entry
Short Entry
11.2 Exit Conditions
Long Exit
Short Exit
11.3 Risk Management
---------------------------------------------------------------------------------
12. Custom Settings for Optimum Results
The AIMS Algo allows for parameter customization, enabling traders to adapt to different markets and timeframes. While default settings are optimized for DAX40 on the 1-minute chart, alternative configurations may suit other instruments or timeframes.
1. Overview
AIMS Algo is designed as a versatile tool on TradingView. It helps traders generate signals, automate trades (via PineConnector), and analyze strategies through backtesting. This script includes robust risk management features and various customization options.
This strategy is the culmination of 14 years of live manual trading experiences and refinements. Initially developed for trading the DAX during the London open using simple logic, over a decade and a half of continuous improvement has brought it to its current form. The strategy may seem too good to be true, but it has been perfected through trial and error. Now, it's your chance to unleash the full potential of this algorithm.
---------------------------------------------------------------------------------
2. Key Functionalities
- Indicator Mode
Displays clear buy and sell signals directly on your TradingView charts. - Strategy BacktestingUtilize TradingView’s built-in Strategy Tester to validate and refine trading ideas.
Monitor key metrics such as net profit, max drawdown, profit factor, and win rate. - Bridge to MT4/MT5 (via PineConnector)
Connect TradingView to your MT4/MT5 platform for automated order execution.Note: Real-world conditions vary by broker/data feed; slippage, commissions, and spread differences can significantly affect real performance.
---------------------------------------------------------------------------------
3. Core Features
3.1 Backtesting Capabilities
- Historical Data Analysis
Leverage TradingView’s Strategy Tester for an overview of how the strategy might have performed over historical data. - Performance Metrics
Review net profit, maximum drawdown, profit factor, and win rate to guide your decisions.
3.2 Stop Loss Methods
- Percentage-Based Stop Loss
Fix your stop-loss at a chosen percentage of the entry price for straightforward, controlled risk. - Normal (Percent-Based)
Dynamically adjust SL according to market volatility.
3.3 Dashboard Display
A real-time dashboard appears in the top-right corner by default. It provides quick performance statistics, such as net profit, drawdown, profit factor, and win rate.
---------------------------------------------------------------------------------
4. Indicators and Filters
This script employs a combination of standard technical indicators and specialized components inspired by Trading Chaos Theory. Each indicator serves a unique purpose in identifying potential trade entries, exits, and overall market conditions. While they can be powerful tools, no single indicator guarantees future performance.
- 4.1 RSI (Relative Strength Index)Purpose:
Filters trades based on overbought/oversold conditions.
Configuration:
Default levels are set to 70 (overbought) and 30 (oversold).
Usage:When RSI is above 70, buy signals may be ignored to avoid entering overextended markets.
When RSI is below 30, sell signals may be ignored for the same reason.
- - 4.2 Exponential Moving Average (EMA)Purpose:
Highlights trend direction and helps identify dynamic support/resistance.
Configuration:
Typically uses Fibonacci-based or custom EMA periods for multi-timeframe analysis.
Usage:When price remains above a selected EMA, the script can favor long entries.
Conversely, price below the EMA may bias the script toward short trades.
- - 4.3 SuperTrendPurpose:
Serves as a broad-market trend filter, indicating uptrend or downtrend phases.
Configuration:
User-defined multiplier and period (e.g., 13, 3 | 10, 2 or 14,2 ). Default is 14,2
Usage:Buy trades are permitted in an uptrend, while sell trades may be filtered out.
Conversely, sell trades are permitted in a downtrend.
- - 4.4 Parabolic SARPurpose:
Adds an optional trend or trailing-stop component.
Configuration:
Adjust the step and maximum step according to volatility.
Usage:Future versions of this strategy may incorporate Parabolic SAR for trailing stop-losses, locking in gains during trending conditions.
- - 4.5 AIMS BoxPurpose:
Identifies areas of consolidation (the “box”) by marking recent highs and lows.
Usage:A breakout above or below the box can signal potential momentum shifts.
Helps traders spot when price may transition from ranging to trending.
- - 4.6 AIMS GatorPurpose:
Derived from the Alligator strategy concept by Bill Williams, which uses multiple moving averages.
Usage:Indicates when the market is “sleeping” (consolidation) vs. “eating” (trending).
Helps filter trades by favoring entries in clearer market conditions.
- - 4.7 Purple Magic
- Purpose:
Provides additional context for trend identification and potential trade setups.
- Usage:
- Applies proprietary rules to simplify detecting high-conviction entries in trending markets.
- Aims to help traders manage exits more efficiently.
- Applies proprietary rules to simplify detecting high-conviction entries in trending markets.
- Purpose:
-
Note: The interplay of these indicators can help refine trade entries and exits, but no methodology can assure future success. Use caution and thorough testing when incorporating any indicators into a live trading strategy.
---------------------------------------------------------------------------------
5. Advanced Take Profit & Stop Loss Methods
- Normal
Single TP (TP1) at 100% closure by default.
Example: If SL is 10 pips and TP1 is set to 1×SL, the TP also equals 10 pips. - GetFunded Option (High Risk)
An optional, more aggressive risk management approach. Use with caution, as drawdowns can be severe. - Scaling Option
Allows for multiple TP levels (e.g., close part of the position at TP1, the rest at TP2). - Fixed Pips
Specify exact pip distances for SL and TP.
The script calculates lot size accordingly.
---------------------------------------------------------------------------------
6. Trade Management
- Compounding: Option to increase position size as equity changes (use responsibly).
- Max Trades: Limit total trades per session/day to mitigate overtrading.
- Visual Settings: Configure background shading, signal colors, and data displayed in the info box.
---------------------------------------------------------------------------------
7. PineConnector Settings
- Webhook URL: Input your PineConnector webhook if automating trades to MT4/MT5.
- Signal Format: Define how the script sends messages (e.g., “Buy” or “Sell”, symbol, SL, TP).
---------------------------------------------------------------------------------
8. Indicators Used
AIMS Algo combines standard technical indicators and custom logic:
- RSI
- Exponential Moving Averages (EMA)
- SuperTrend
- Parabolic SAR (optional)
- AIMS Box & AIMS Gator (identifies breakouts, consolidations, and trend)
- Purple Magic (additional entry/exit logic)
- Awesome Oscillator (AO) (momentum-based confirmations)
---------------------------------------------------------------------------------
9. Advanced Features
- Custom Price Action Patterns
Two optional patterns (AIMS Algo Pattern & Banana Pattern). Pick which pattern to use for signal generation. - Dynamic Risk Management
Adjusts risk based on market conditions/account drawdown. Can be more aggressive if in profit or more conservative when losing. - Slippage Control
Simulate real-world trading conditions in backtesting. Define random slippage frequency and range. - Spread Simulation
Factor in spreads for more accurate Forex testing (especially important since TradingView data typically shows a single price).
9.1 Slippage Management
Slippage is an important factor to consider in live trading, as market prices can move between the time you place an order and when it is executed. By including a slippage option in this script, traders can specify the amount of slippage they expect or are willing to accept on their trades. This helps ensure your backtesting more closely mirrors real-world conditions.
- Adjust for Market Conditions
In fast-moving or volatile markets, prices may shift rapidly. The slippage setting helps simulate such price discrepancies, reflecting actual market dynamics. - Improve Strategy Accuracy
Incorporating slippage prevents overly optimistic backtest results. You get a better sense of how your strategy might perform when executed in live markets. - Manage Risk Better
By understanding how slippage impacts trades (especially stop losses and take profits), you can refine your approach to mitigate unexpected losses.
Overall, simulating slippage in your strategy allows for a more realistic performance assessment. Traders benefit from a clearer understanding of how their strategy would behave under live execution, ensuring they are better prepared when placing real trades.
---------------------------------------------------------------------------------
10. DAX40 Scalping Strategy: Default Properties and Inputs
This strategy ships with default settings optimized for a DAX40 scalping approach. Always adjust to personal risk tolerance and market conditions.
10.1 General Defaults
- Session Window: Aligns with the London Open (approximately 08:29 to 10:00 UTC).
- Risk per Trade: 1% (use caution if risk is above 5–10%).
- Max Daily Loss: 4.5% (halts trading once reached).
- Compounding: Enabled by default (uncheck when forward testing if your risk tolerance is lower).
- Max Volume: 100 lots to prevent unrealistically large positions.
- Limit Signals per Day: 6 longs + 6 shorts (helps maintain a sufficient trade sample without overtrading).
- Position Scaling: Off by default (single TP only).
- Use Fixed Pips: Off by default (default is multiples of the signal candle’s range).
10.2 Colors
- Bullish & Bearish Signals: Choose separate colors to differentiate buy/sell signals.
- Trend Shading: Switch on/off to highlight probable trend changes.
- Line Colors: Configure SL/TP lines and info box visuals.
10.3 Trading Session Window
- Enable Trading Window (checked by default).
- Enable First Session: on
Start Hour: 8
Start Minute: 29
End Hour: 10
End Minute: 0 - Enable Second Session: off by default.
10.4 Risk Management
- Risk per Trade: 1% of equity (conservative but can be lowered).
- Use Max Daily Loss %?: Yes (halting trading if 4.5% daily drawdown is reached).
- Use Compounding: True by default.
- Max Volume/Lot Size: 100 lots.
- Allow Multiple Trades: Off by default (to maintain simpler risk exposure).
- Use GetFunded Risk Management: Off by default (high-risk, optional).
- Limit Signals Per Day: 6 for longs, 6 for shorts.
10.5 Position Scaling & SL/TP
- Enable Position Scaling: Off by default.
- TP1: 0.5 (half of the SL distance, if using Normal mode).
- TP2: 0.7 (active only when scaling is on).
- Use Pips for TP & SL: Off by default.
- Show Trade Levels: On (makes it easier to visualize entry/SL/TP).
10.6 Order Buffers & Offsets
- Long Entry Offset: 1 pip above the candle high.
- Subtract from Buy SL: 0.1 pip below the candle low.
- Short Entry Offset: 0.1 pip below the candle low.
- Add to Sell SL: 1 pip above the candle high.
- Spread: 0 (option to simulate 1 or more pips if desired).
10.7 Signal Management
- Take Buy Signals: On.
- Take Sell Signals: On.
- Look for Better: On (seek improved entries on subsequent bars).
- Cancel Buy/Sell Order if No Signal: Off.
- SL Offset: 0 (using signal candle’s high/low by default).
- Signal Type: AIMS Algo Logic (or AIMS Banana Pattern as an alternative).
10.8 Signal Filters
- Use SuperTrend Filter: On (multiplier=3, period=13).
- Use EMA Crossover Filter 1/2: Off (optional for trend alignment).
- Use RSI Filter: On (70/30 default).
- Use Parabolic SAR Filter: Off (optional).
10.9 Extra Options
- AIMS Gator/AIMS Box: Toggle on/off to manage chart clutter.
- Trend-Based Colour Changes: Switch to color-coding based on your chosen trend filters.
10.10 Dashboard/InfoBox
- Position: Top-right by default.
- Text Size & Color Scheme: User-defined.
- Displayed Metrics: Session status, total P/L, daily P/L, winners/losers, risk%, win streak, drawdown, and more.
10.11 Slippage Management
- Enable Slippage Testing: Off by default.
- Slippage % Chance: 0.30 means a 30% chance to experience slippage.
- Random Pip Range Min/Max: Define the pip range to simulate.
10.12 PineConnector Integration
- License ID & Symbol: Matches your broker’s naming convention for order execution.
- Enable Stop Orders: On (pending-stop entries).
- Cancel Last Buy/Sell Order: On.
- Cancel Invalid Signals: Off.
- Advanced Drawdown Management: Off by default (can halt trading at preset drawdown).
---------------------------------------------------------------------------------
11. The Strategy Principles We Followed
11.1 Entry Conditions
Long Entry
- Price Pattern: The most recent high and low must meet specific relationships with previous candles, suggesting potential upward momentum.
- Trend Confirmation: An external indicator may confirm the directional bias (optional).
- Time Restrictions: Entries occur only within predefined session windows.
- Trade Limits: If activated, a feature ensures no more than a set number of daily trades.
- Risk Management: Techniques (e.g., stop-loss and position sizing) are applied to limit drawdowns.
- Advanced Position Sizing: Helps minimize drawdown percentages and duration.
Short Entry
- Price Pattern: A reverse structure compared to long entries, indicating potential downward momentum.
- Trend Confirmation & Time Restrictions: Same optional filters/time settings as long entries.
- Trade Limits: Ensures controlled daily exposure for short positions if activated.
- Risk Management: Similar techniques to safeguard against excessive losses.
- Advanced Position Sizing: Helps minimize drawdown percentages and duration.
11.2 Exit Conditions
Long Exit
- Protective Stop: Placed below the entry based on recent price action.
- Profit-Taking:
- Occurs at one or more predefined levels.
- If scaling out is enabled, the strategy can close partial positions at the first profit target; the second target is a customizable multiple of the initial stop distance.
- Future Option: Additional methods to set fixed take-profit and stop-loss levels by pips, points, percentages, or dollar amounts.
- Occurs at one or more predefined levels.
Short Exit
- Stop Placement: Above the entry, mirroring long-exit logic with adjustments for short trades.
- Profit Levels:
- Similar approach to longs; one profit target if scaling out is off, or multiple levels if scaling is enabled.
- Similar approach to longs; one profit target if scaling out is off, or multiple levels if scaling is enabled.
11.3 Risk Management
- Adaptive Risk: Stop levels adjust to recent market volatility.
- Profit Targets: Linked to the stop distance for flexible trade management.
- Consistent Risk Percentage: Position sizing maintains a fixed fraction of the account risked per trade.
- Daily Loss Threshold: Trading halts once a defined loss limit is reached.
- Separate Long & Short Limits: Prevents overexposure in either direction.
- Advanced Risk Management: AIMS Get Funded Risk Strategy
Important: This approach involves higher risk and does not guarantee passing any funded account challenge. Traders should use caution and thorough testing.
- Martingale Risk Method: Increases position size following a loss, aiming to recover previous losses more quickly. This can significantly amplify risk.
- Pyramiding & Reverse Pyramiding: Allows scaling in/out of positions dynamically.
- Dynamic Adjustments: Risk may increase after winning trades and decrease after losing ones, according to user-defined rules.
- Martingale Risk Method: Increases position size following a loss, aiming to recover previous losses more quickly. This can significantly amplify risk.
Disclaimer
All examples and settings described are for informational purposes only. Past performance or optimization of indicator settings does not guarantee future results. Trading involves significant risk of loss, and one should always use caution and consult a qualified financial professional before trading real funds.
---------------------------------------------------------------------------------
12. Custom Settings for Optimum Results
The AIMS Algo allows for parameter customization, enabling traders to adapt to different markets and timeframes. While default settings are optimized for DAX40 on the 1-minute chart, alternative configurations may suit other instruments or timeframes.
Note: The performance metrics and profit figures mentioned below come from historical/backtested data over specific periods. They do not guarantee future performance.
- DAX M1 SettingsSession: 08:30–10:00
Max Trades: 10 each (long and short)
Risk-Reward Ratio: 1 : 0.5
Look for Better Price: Yes
Backtest Window: Apr 2024 to Oct 2024 (6 months)
Backtest Results:
Win Rate: 75%
Profit Factor: 1.39
Compounded Profit: 238%
Stop-Loss Offsets:
Buy SL: +1 pip above reference
Sell SL: +0.1 pip below reference - DAX M5 SettingsSession: 09:30–11:00
Max Trades: 2 each (long and short)
Risk-Reward Ratio: 1 : 0.3 (no scaling out)
Look for Better Price: No
Backtest Window: 6 months (dates not specified)
Backtest Results:
Win Rate: 83%
Profit Factor: 1.42
Profit: 13% - NASDAQ (NAS) M1 SettingsSession: 14:45–16:30
Max Trades: 10 each (long and short)
Risk-Reward Ratio: 1 : 0.5
Look for Better Price: Yes
Backtest Window: 6 months (dates not specified)
Backtest Results:
Win Rate: 74%
Profit Factor: 1.33
Profit: 112% - NASDAQ (NAS) H1 Settings
(Replacing the “Ultimate NASDAQ100 Strategy”)
- Session: 11:00–18:00
- Max Trades: 5 each (long and short)
- Risk-Reward Ratio: 1 : 0.5
- Look for Better Price: Yes
- Backtest Window: Jan 2012 – 14 Oct 2024
- Backtest Results:
- Win Rate: 74%
- Profit Factor: 1.41
- Profit: 136%
- Win Rate: 74%
Important Disclaimers
- Hypothetical Performance: All statistics above reflect backtested or hypothetical results. They do not guarantee success in real markets.
- Changing Conditions: Market volatility, liquidity, and economic events can shift rapidly, so parameters optimized for one timeframe may perform differently in the future.
- Risk Management: Always use appropriate stop-losses, position sizing, and daily loss thresholds. Risking more than you can afford to lose is not recommended.
- Forward Testing: Before applying any of these settings in live trading, forward-test them in a demo environment to validate their practicality.
These customizable configurations aim to provide a starting point. Ultimately, traders should fine-tune the strategy to fit their individual style, risk tolerance, and market conditions.
---------------------------------------------------------------------------------
Risk Disclaimer ⚠️
Trading carries significant risk, and many traders lose money. AIMS Algo is provided for educational and informational purposes only. It does not guarantee profitability. Past performance is not necessarily indicative of future results. Always do your own research, test thoroughly, and consult a licensed financial professional before trading live funds. The creator of this script assumes no responsibility for any financial losses.The settings currently recommended reflect what has worked best during the customizable backtesting period within the indicator. However, optimizing parameters for technical indicators does not guarantee future success. Market conditions evolve, and any “optimal” settings are likely—if not certain—to change over time.
Strategy Properties (Important)
Although many technical analysts focus on refining signal parameters, the practical benefits of such optimization remain limited and can be quite complex to apply in real-time trading, even with forward testing.
We strongly recommend all users to ensure they adjust the Properties within the script settings to be in line with their accounts & trading platforms of choice to ensure results from strategies built are realistic.
Happy Trading! ✨ - Session: 11:00–18:00
릴리즈 노트
Further Enhancement of Code Added: AIMS Box logic and display
Added: Filters for EMA crossovers and SuperTrend
릴리즈 노트
More Visual and Functional Changes ... code is now over 1500 lines릴리즈 노트
Now we can use AIMS Gator as well. So we have the AIMS AO built in We have the AIMS Gator Built in We also have the AIMS EMA's already built it and option to use for filters We also have an additional filter, the supertrend with our modified settings used for filters. This version has more options for aesthetics and more tooltips with enhanced description and examples.릴리즈 노트
Minor Changes to default inputs Attempting to show trade levels (not successful so far)
릴리즈 노트
Version Name Corrections릴리즈 노트
Changes: Signal Colour Grey when not in trading session릴리즈 노트
Further Filters Added1. Cancel Orders if the next bar has no signal.
2. Removed Trade Levels which were creating bugs. (will have to fix that in the next version)
릴리즈 노트
// 15/10/2024 - BETA 6 Version 35// Bugs :
// Noticed that it was taking two signals both Sell Trade and Sell trade 1. Added line to cancel the first order. thanks Emma.
// Added Session lines which are NOT working correctly for now. Will Leave it there anyway, will fix later
// New Features
// BIGGEST:
// GET FUNDED (Dynamic Risk Management): added a super useful risk management strategy that seems to work wonders for winning challenges. This is so that we can test the idea if it really works.
// Normal
// Added RSI Filter. It has a minor positive effect on the results so why not.
// Default Settings: the default settings are for DAX m1 strategy that has super powerful edge. Just attach to chart and enjoy
// MA Filter Settings updated
// InfoBox: text size option added.
릴리즈 노트
// 16 oct: Qty rounding added. Longer backtests were having erros randomly due to qty number having too many digits past decimal. Rounded to 2 decimal points now
// Added further 10 rows in to the infoBox, will be adding another infobox with more useful information. such as trend direction etc.
//version 65; MINOR TWEAKS.
릴리즈 노트
Beta 7 :Added Slippage Feature for use while bactesting. Do not use for signal generation while forward testing or using signals for trading.
Infbox: Rearranged, Recoloured, removed and replaced . Still lots of work needed to imporve its UI/UX.
릴리즈 노트
quick change, set slippage to off by default, we don't want this to be on all the time. 릴리즈 노트
// Enhanced Logic for filters and signals// Enhanced InfoBox ... New Rows, Deleted Rows, New Calculations added
// Winstreak, total Signals, total trades etc
// Colour Schemes Updated
// Shading Changed
릴리즈 노트
// Slippage was true by default created issue that emmax pointed out. thank you릴리즈 노트
Fixed no time limit trading issue... reshuffled infobox and enhanced logic. -- Can uncheck Trading Window Enbled Option to let it trade without restrictions of time or max trades
-- Trading Session: Title dynamically reflects the session name or whether active/inactive
-- Get Funded Dynamic Risk %: When Get funded enabled, the current risk is shown.
릴리즈 노트
A New Feature of Drawdown management has been added. A new row added to info box that shows current drawdown in percentage and count of how many times it dipped into drawdown and out.
The drawdown feature also lets you reduce exposure if current drawdown exceeds a certain limit.
릴리즈 노트
// Version 7.3.0 / beta 7.3.0 - add reverse pyamid to getGunded
// Pyramid Rik Method .. after a loser either come back to default risk% or decrease by 1% or other number
릴리즈 노트
// beta 7.4 Added the feature to control max trades and max signals. We were calling max signals as max trades, changed that accurately // reflect the meaning. Also added a feature to stop trading after a certain number of winners or losers.
// Beta 7.4. added Parabolic SARS filter. It seems to have a positive effect on the results. Next will add ability to trail stops with SARS which could be useful for higher time frames or when going for bigger Take profit levels.
// Beta 7.4.8 Edited Start end Time Inputs. Also Removed commented code no longer needed.
Current WinRate = 90% and Profit Factor 4.4
릴리즈 노트
//BUGFIX :1 - Max Trades Per Day WORKS NOW //BUGFIX: 2 - Qty / Volume Exceeding the limit set by tradingview. FIXED. // Error Invalid `qty` value (2391448605247.170000) in the strategy function. Use a positive number less or equal to 1000000000000.000000. [FIXED]
//BUGFIX: 3 - Error on bar 3019: Invalid `qty` value (-1140782.320000) in the `strategy.order()` call. Use a positive number less or equal to 1000000000000.000000.
//at #main():1075 [FIXED]
// Potential Future Bugs: Still need testing and need fixing: Max Order of 9000 . If this happens, it has to do with "use scaling" settings. Make sure the two numbers are not the same.
릴리즈 노트
Beta 9 - The Next Step in the Processit's all about Automation now
The strategy will now send Pending or Market Orders to MT4/MT5 ...
You can enter your PineConnector License ID in the indicator Settings and you're good to go.
Lets test this one now...
// Managed to Include automatic signal generation for PineConnector to MT5/MT4. Sends Market Orders with SL and TP or Pending Orders with SL and TP.
// Next step is to include the ability to cancel trades and modify trades.
릴리즈 노트
//Beta 9.1 --- Enhance the functions for setting orders .... 릴리즈 노트
// PineConnector Automation - Further refinements and options added. // Check Tutorial Videos on YouTube
AIMS Algo - The ScalpMonster 3 to MT4/MT4 with PineConnector - Tutorial part 1 youtu.be/_eC1d8bi6gM
AIMS Algo - The ScalpMonster 3 to MT4/MT4 with PineConnector - Tutorial part 2 youtu.be/PwCMsVOuOkU
릴리즈 노트
Beta 9.4 is all about the next step of automation
In the previous version we were able to send signals to pineconnector.
All beta testers were successfully able to generate signals and received them in their mt4 and mt5 platforms
But we did not yet include the ability to cancel orders
In this version;
when there is a new buy signal, it will send an alert to cancel any past sell orders
in the next version we will include the ability to modify a buy order if there is a stop buy order already set up by the first buy signal and with "look for better" activated, if there is a change in price Sl and tp, we will cancel or modify the first order
릴리즈 노트
// Beta 9.4.10 Breakthrough:
The problem: We were sending buy/sell stop orders but when a better signal, the second buy or sell signal appears, it would set a new order but won't delete the previous one .
Now, when there is a "look for better" signal. it will simultaneously delete the previous stop order and send a new order
The buy orders if not triggered will stay live until a sell signal is issues. (for now)
릴리즈 노트
// Beta 9.4.25 Bugs -- some buy orders were not cancelled. Its a hit and a miss ... (pineconnector issues really) 릴리즈 노트
// Version 9.5 Bug fixes... trying to get it to cancel buy order 1 and set a buy order 2. fingers crossed 릴리즈 노트
// Beta 9.7 ---- Added Trade Entry Levels visible in the Data Window. // Added Trade Cancel Logic for Buy/Sell Signals . When signal invalid reset the order levels. This should help with accurate signals generation for PineConnector.
// Better logic for Signal Generation and Trade Execution.
//- Enhanced Logic for cancelling trades
//- New States added for monitoring conditions past the point of a buy or sell signal
//- New logic added for whether to cancel trades on the next candle or when the signal itself is invalid. This will ensure we are not sitting on orders are obviously not needed anymore and should be cancelled without waiting for a new trend and opposite signal.
릴리즈 노트
Release Notes for Beta Version 9.8 - THE FINAL BETADevelopment Journey:
The ScalpMonster strategy originated from trading the DAX during the London open, utilizing simple logic.
Through continuous improvement and adaptation, it has evolved into a sophisticated algorithm capable of delivering consistent results.
The integration of Pineconnector in the latest beta version enhances automation by transmitting buy/sell signals, take profit and stop loss levels, and dynamic lot sizing directly to MT4/MT5 platforms.
The AIMS team remains committed to providing traders with a robust and reliable tool, continuously refining the ScalpMonster strategy to meet the evolving needs of the trading community.
Overview:
This release completes Version 9 of our AIMS Algo - Scalpmonster 3 - Pineconnector.
The focus has been on refining the way buy and sell signals are managed and communicated to Pineconnector for seamless trade execution in MT4/MT5. Below is a breakdown of the new and improved features, limitations, and future plans.
New Features and Enhancements:
Automated Signal Transmission:
The strategy now sends real-time buy and sell signals directly to Pineconnector, automating the execution process and ensuring trades align with signal logic.
Take Profit (TP) & Stop Loss (SL) Transmission:
Set take-profit and stop-loss levels are sent along with each signal, offering precise control over trade exits and improved risk management.
Dynamic Lot Sizing:
Risk levels are transmitted in lot sizes, allowing trades to automatically scale based on predefined risk parameters, enhancing flexibility and consistency in trade sizing.
Signal-Based Trade Cancellation:
Trades are automatically canceled if the initial signal becomes invalid, ensuring only active, high-confidence trades remain open.
Look-for-Better Entry Logic:
If the "Look for Better Entry" option is active, previous orders are promptly canceled and replaced by new ones, allowing the strategy to seek better price entries and maximize trade precision.
Known Limitations:
"Invalid Price" Error:
In scenarios where the signal triggers at high volatility or is too close to the current market price, brokers may return an "invalid price" error in MT4/MT5. Pineconnector will alert users if this issue arises.
Potential Workaround:
Implementing market orders instead of limit orders may bypass the price validation error. However, this may introduce new complexities, such as slippage or timing discrepancies, and will require additional testing.
Future Roadmap:
Following Beta Version 9.8, we are planning Public Preview Release Version 1.0. In preparation, we will:
- Explore additional order types and settings for Pineconnector to increase order flexibility.
- Implement extensive background testing on new features to ensure stability and compatibility across platforms.
A Final Note from the AIMS Team:
We appreciate your participation and feedback throughout this beta testing phase. Your insights have been invaluable in helping us create a robust trading tool. We’re excited to see how you leverage these new features, and as always, may the pips be with you!
Best Regards,
The AIMS Team
--------------------------------------------------------------------------------------------------
릴리즈 노트
// Hot Fix - There was an error in Get Funded Risk Management and Reset Get Funded. It did not through an error during compile but caught during edge case tests. manual observation has a place still. 릴리즈 노트
Beta: 9.10 Refinement to Info Box: Correctly shows number of trades left.
Further enhancements for PineConnector Alerts.
릴리즈 노트
// Tribute to Mr. Donald J. Trump - The 47th President of the United States | Win like Trump | never give up | fight fight fight | Let the PIPS be wit you릴리즈 노트
Version : 9.11 Beta// Added option to cancel or leave signals when there is a trend change and/or there is an opposite signal. On DAX M1, it gives better results if you cancel past or opposite signals. Now you can test it yourself , chances are it might produce different results for other time frames and/or symbols.
Thank you EdWard for your great question.
릴리즈 노트
//- Enhanced Logic for cancelling trades //- New States added for monitoring conditions past the point of a buy or sell signal and congruent with pineconnetor
//- New logic added for whether to cancel trades on the next candle or when the signal itself is invalid.
//This will ensure we are not sitting on orders are obviously not needed anymore and should be cancelled without waiting for a new trend and opposite signal.
// Beta 9.12 Fixed Cancelling order discrepancy between pine and algo.
// ADDED Trade lines still needs improvements
// Qty of Lots will be based on the LAST candle and not for every bar.
릴리즈 노트
Beta 11. Major Update Features:
Realistic Spread Added:
Now you can add spread in pips so that your results of your strategy and the trades
taken on MT4 are almost 99.9% accurate.
Spread will be added to Take Profit level for Buy Orders (Exit on Ask Price)
Spread will be deducted from Take Profit Level of Sell Orders (Exit on Bid Price)
Buy and Sell Entry Buffers as before in pips
Buy and Sell Stop Loss Buffers As before in pips
NEW FEATURE:
Test with fixed take profit and stop loss levels in pips
Bugs: Removed order cancelling bugs.
Pure Functions :
Further enhanced the code with more "pure functions" Functions only mess with their internal variables and global variables are untouched.
릴리즈 노트
Version 11.1beta Fixed Plot Colours for Entry Levels in Data Window
Major Hot Fix: Take Profit for Sell orders was miscalculated.
Cleaner code
릴리즈 노트
Version: v11.24b has lots of improvements The spread issue has been fixed.
The strategy now takes into account buffer/offset in pips for order levels
The strategy also deducts spread out of the profit so that the profit/loss statements reflect actual trading.
Lots of other visual enhancements: Colour Themes added. You can now choose all types of colours
The Trade Levels: you can now choose to show/hide trade levels and they don't extend all the way to the right.
and others
Plans for Future: This is the STABLE release and will be available to access those who get the membership for it. and will stay like this until next major release. the Future beta releases will be shared in a separate script. Once stable we will then update this version.
릴리즈 노트
Changed: The Script Coded Updated to Version 6 of Pinescript
Default Settings Changed. These settings are more optimised and leads to better more reliable results.
릴리즈 노트
Updated Default SettingsAdded Trade Levels Options
Added Super Trend Input Fields. Now you can change settings for Super Trend ATR length and multiple factor.
Added SuperTrend Trend Shading
릴리즈 노트
Debugging: Bugs in SuperTrend Code Removed
Settings:
Updated Default Settings : Supertrend Inputs revealed.
릴리즈 노트
Minor Hot Fix릴리즈 노트
Version 1.6.1 Minor Bug Fix: ST inputs were wrong. Changed from 13, 3 to 14, 2 which was the previous default.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 itradeaims-tv에게 직접 문의하세요.
이 비공개 초대 전용 스크립트는 스크립트 모더레이터의 검토를 거치지 않았으며, 하우스 룰 준수 여부는 확인되지 않았습니다. 트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
To Get Access please visit https://iTradeAIMS.net
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 itradeaims-tv에게 직접 문의하세요.
이 비공개 초대 전용 스크립트는 스크립트 모더레이터의 검토를 거치지 않았으며, 하우스 룰 준수 여부는 확인되지 않았습니다. 트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
To Get Access please visit https://iTradeAIMS.net
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.