OPEN-SOURCE SCRIPT

Experimental Entry Interface (Buy Arrows with TP & SL)

已更新
This script provides high probability entry points and includes Take Profit and Stop Loss targets.
  • It attempts to predict when the market conditions are set to move up, and prints long positions.
  • In addition to Long Entry Arrows, it will print Take Profit / Stop Loss targets.
  • This indicator is highly adjustable. Hence the name 'Experimental' in the title. Experiment with it to find the results you want.
  • Designed for use on the 1H timeframe in Forex, but could possibly be useful elsewhere. Do your own testing.
  • This indicator can repaint. It is best used with alerts set for once per bar close, so that your alerts do not repaint and your trades are solid.
  • Not ever signal is a winner. Backtest thoroughly. Adjust accordingly.



Arrows
Four sets of colored arrows are included.

💵 💶 Green and Blue Entry Arrows are formed when the market is in an uptrend, and has a momentary pullback.
💴 💷 Yellow and Purple Entry Arrows are formed when the market is just starting to recover from being severely oversold.


Backtest Mode
Turn on Backtest Mode to easily see if an entry ended up as a winner or loser. A Take Profit and Stop Loss line will be drawn to show results.

Take Profit & Stop Loss Targets
You have two options for this.
Price will show you where your TP/SL exits should be placed. These values will show up under the arrow, based on your Risk/Reward ratio.
Pips are much more simple, and will only show you the market entry point and how many pips up/down to place your SL/TP. Warning: This is fixed at a 1:1 RRR .

Risk/Reward Adjustment
Each entry arrow color allows custom risk/reward ratio adjustment.

Dollar Amounts Displayed
Change your account value and leverage to see how much you would have won on each trade.

How to trade with it?
(Forex, 1H) Open the settings, and turn on all the arrow entries. Turn on Backtest mode to see how past trades would have played out. Turn on TakeProfit/StopLoss Targets to see where to set your targets, for each arrow. Set an alert to notify you once per candle close when there is an Entry. Trade happy!

Bill Williams Alligators are also included, if you want. Not necessary though. Some of the calculations depend on them for trend direction analysis.
發行說明
Added the ability to adjust font size on labels.
發行說明
Added Silver Arrows.
A Silver arrow will appear if price drops below a standard Keltner Channel, and comes back up, along with having an oversold Stochastic and a PSAR support dot below the candle.

Backtest mode and targets are now enabled by default.
發行說明
Added silver to alerts, cleaned up some code.
發行說明
Updated Green condition arrows to no longer require two previous red candles and the highest high for the previous 7 candles.
發行說明
Removed lower limit on reward settings for all arrows. Risk/Reward Ratio can now be set lower than 1:1. Caution! Use at your own risk!
發行說明
Removed a rogue plot line that was causing charts to flatten out badly, and render incorrectly. Removing this line fixes the script.
發行說明
Added Fuchsia arrows, which will appear whenever both the Stochastic and the Money Flow Index both enter Oversold territory, and one of them comes out of oversold territory.
發行說明
Added an Alert for the Fuchsia Arrows
發行說明
New Feature: Pip Calculator! Now when you get an entry arrow, you'll get a pip calculator. If price has risen, it will also show entry price. Now turned on by default.

Bug Fix: Entry price was showing one day too far back. Now corrected.
發行說明
Bug Fix: Fixed the pips so that they are static above close and dynamic below close.
發行說明
The script has undergone a major overhaul.

Summary of Changes: Deleted entries, colors have changed, confidence feature added, and auto-trading alerts have been added.

Some color changes have occurred:
  • Original Green has been deleted
  • Original Blue has been deleted
  • Original Yellow has been deleted
  • Purple is now Green
  • Fuchsia is now Blue
  • Silver is now Yellow


A new "Confidence" feature has been added. This can help prevent losing trades, but setting it too high may cause the script to miss winning trades as well. Confidence subtracts stoploss from close price. Adjust up and down and watch entries appear/disappear accordingly.

Alerts can now include stoploss and takeprofit levels for auto-trading systems.
For example, to include takeprofit in an alert, use {{plot("Takeprofit")}} and for stoploss, use {{plot("Stoploss")}}

Cleaned up code significantly. Displaying indicators is now disabled and removed.
發行說明
Added Takeprofit and Stoploss values to the alert message.

Fixed some code with the yellow takeprofit if else section.
發行說明
Fixed Auto Takeprofit & Stoploss values to reflect current instead of previous bar's value, for alerts.

Also note, the 0.0008 Confidence setting is optimized by default to the AUD/USD. It will need to be tweaked per-pair and per-timeframe for best results.
發行說明
Fixed a major issue with the Stoploss Takeprofit values being passed into the Alerts. Basically it was providing the values for one bar behind the current, when we wanted current.
Also now rounding to five places.
發行說明
Fixed an error that caused alerts to pass incorrect variables. Alerts should now match with the TP/SL levels displayed by the arrow.
arrowsCandlestick AnalysisExponential Moving Average (EMA)forexsignalsRelative Strength Index (RSI)signalssignalservicestoplosstakeprofit

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明