APIBridge, TradingView
Strategy Premise
This Strategy uses the Natural Log this Log X is Crossover The Lower Standard Deviation Send Long Condition and Log X Cross under upper standard Deviation send Short Condition.
Strategy Logic for LOG X Algo
Long Entry: Send LE when Log X cross Over Lower Band
Long Exit: Either when SL or Target is hit. If SL/TGT is not hit and LogX cross Under Upper Band, send LX and SE
Short Entry: Send SE when Log X cross Under Upper Band
Short Exit: Either when SL or Target is hit. If SL/TGT is not hit and LogX Cross Over Lower Band send SX and LE
Log X Strategy Parameters for TradingView Charts
Z Length: Number of bars to Lookback
Trade Quantity: This is used to specify the trade quantity
Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit
Custom Target in Points: Movement in chart price against the momentum which will trigger exit
TradingView Settings
1st STEP: Download The Pine Script Algo here
2nd STEP: Open desired Chart in trading View with normal Candlestick, Select desired timeframe of the chart, Go to the pine editor section, remove the default code, paste the downloaded code, save the file and to chart.
3rd STEP : Once Strategy is applied to the chart, click on settings to optimize parameters for your own trading
Setting Up Alert for Log X Algo
Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in message box.
Important: do not change any settings during live trading.
NOTE: The pinescript works both with webhook alerts (TV Pro plan) and normal popup alerts (TV free plan).
Recent Discussion