What does ALL 5 orders | P/L $0.34 mean on the top left of chart ?
Looks like it shows the backtest results by telling you the profits or losses generated (based on the green and red bubbles) in the certain timeframe you have selected. This is the first time I've seen an indicator with this feature, so I could be wrong.What does ALL 5 orders | P/L $0.34 mean on the top left of chart ?
@horserider Do you happen to have a SuperTrend that utilizes Heiken Ashi? I haven't seen any...Simply stated, there has been several implementations/variations of the Super Trend indicator. Mobius version is based on ATR, while this particular version from Linus is based on price, RSI, Ultimate Oscillator and Chandelier. Within the code is logic to determine the trend based on which a count of orders (using the designed algorithm) is made. The P&L label essentially is the result of that underlying algorithm.
I have also seen other implementations by Mobius of Supertrend with ATR CCI as well as other variations that make use of Heiken Ashi.
At the end of the day it really depends on the underlying base indicator of choice that floats your boat. When in doubt, always check the code.
# Mobius # SuperTrend HeikenAshi # Chat Room Request # V03.10.2015 # Up = (HIGH + LOW) / 2 + Multiplier * ATR # Down = (HIGH + LOW) / 2 – Multiplier * ATR # When the change of trend occurs, the indicator flips # For RP: Add AR trend, Aberrant Vol, R State, PTR input AtrMult = .70; input nATR = 4; input AvgType = AverageType.HULL; input PaintBars = yes; input BubbleOn = no; input ShowLabel = no; input AlertOn = no; input PlotLine = no; def HAopen; def HAhigh; def HAlow; def HAclose; HAopen = CompoundValue(1, (haopen + haclose) / 2, (open + close) / 2); HAhigh = Max(high, close); HAlow = Min(low, close); haclose = (HAopen + HAclose + HAlow + close) / 4; def v = volume; def bar = barNumber(); def EOD = if SecondsTillTime(1545) == 0 and SecondsFromTime(1545) == 0 then 1 else 0; def NotActive = if SecondsFromTime(1545) > 0 then 1 else 0; def ATR = MovingAverage(AvgType, TrueRange(HAhigh, HAclose, HAlow), nATR); def UP = HL2 + (AtrMult * ATR); def DN = HL2 + (-AtrMult * ATR); def ST = if close < ST then Round(UP / tickSize(), 0) * tickSize() else Round(DN / tickSize(), 0) * tickSize(); plot SuperTrend = ST; SuperTrend.SetHiding(!PlotLine); SuperTrend.AssignValueColor(if close < ST then Color.RED else Color.GREEN); SuperTrend.SetPaintingStrategy(PaintingStrategy.Line); AssignPriceColor(if PaintBars and close < ST then Color.RED else if PaintBars and close > ST then Color.GREEN else Color.CURRENT); plot ST_point = if isNaN(close[-1]) then ST else double.nan; ST_point.SetStyle(Curve.Points); ST_point.SetLineWeight(3); ST_point.SetDefaultColor(Color.Yellow); # End Code SuperTrend HeikenAshi
|Thread starter||Similar threads||Forum||Replies||Date|
|J||Convert Fibonacci SuperTrend from NinjaTrader?||Questions||5|
|L||Help converting Pivot Point Supertrend to thinkscript||Questions||6|
|R||SuperTrend Backtesting Strategy for ThinkorSwim||Strategies||53|
|R||SuperTrend Yahoo Finance Type for ThinkorSwim||Indicators||78|