Craig_Claussen

HIGHER HIGH LOWER LOW STRATEGY

This is my favorite for Tradingview.


Please use other indicators to find good entry and good exit. This is why this publication has so many indicators. A good indicator will find good results even on line chart. Feel free to try on "Heiken Ashi" but understand that "line" chart is much more realistic
Due to tradingview's crappy auto resize, the best way to view this script is to click on the share button and "Make it Mine".

Then you can see why my other indicators are "PRESENT"

Cheers!!!
Release Notes: This strategy calculates the last high or the last low of a lookback period. If the previous high or low is breached, a signal to enter market is given. This new version adds safety check formula to try to catch potential fake-outs.

Remember that Heiken Ashi do not provide true backtest results because bars are "averaged".

However, this strategy works well with regular candles and line charts if you find the right settings and chart time frame


Enjoy
Release Notes: Apologies - Changed version number from 1 to 4
Release Notes: Updated to show back test on line chart on 8H BTCUSD
Unreal!!
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Epic Results on a "LIne" Chart on 8H BTCUSD!!!!!!!!!!!

Make settings to: close, 41, 10, 1
+1 Reply
BruceZou Craig_Claussen
@Craig_Claussen, Can you write it in full
Reply
Does it repaint?
Reply
@dpanday, Yes it does. I wonder how much.
Reply
BTCUSD 1M Chart
settings: ohlc4, 47,23,1

back test results for December 16th.

Net Profit 5.69 %
Max Draw down 0.64 %
Profit Factor 4.118
Total Closed Trades 18
Percent Profitable 61.11 %
Reply
Here is script in "Study" format to create alerts

//@version=4
study(title="HIGHER HIGH LOWER LOW STUDY", shorttitle="HH LL STUDY", overlay=true)

////

//Higher High or Lower Low Entry Inputs
price = input(ohlc4)
LookBack = input(22)
Highest = highest(LookBack)
Lowest = lowest(LookBack)

long = price > Highest
short = price < Lowest

//Safety Confirmation Inputs - Helps to thin out false breakouts or break downs
length = input(2)
High_Guard = highest(length)
Low_Guard = lowest(length)
length2 = input(1)

long1 = long == 1 and Highest > High_Guard
short1 = short == 1 and Lowest < Low_Guard

plotshape(long1, style=shape.triangleup, location=location.top, size=size.small, color=color.green)
plotshape(short1, style=shape.triangledown, location=location.bottom, size=size.small, color=color.red)

alertcondition(long1, "LONG BTCUSD 15M HHLL", "LONG BTCUSD 15M HHLL")
alertcondition(short1, "SHORT BTCUSD 15M HHLL", "SHORT BTCUSD 15M HHLL")
Reply
Comment removed.
vikithekingbros vikithekingbros
@vikithekingbros, i found that there is an script condition mismatch compare to Strategy and Study, after fixing the same i can see the labels in chart for long and short signal but i can see the noise when it was an study. e.g. if i apply strategy script i can see only 1 short in a day but in study i can see two buy & one sell ? any idea why such a noise are occurred in study ?
Reply
ashvan vikithekingbros
@vikithekingbros, Have you got the solution for this script with code ?
Reply
ashvan Craig_Claussen
@Craig_Claussen, Sir, i am looking for full script with alerts . please help . would like to use this
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out