SeaSide420

Ichimoku + Daily-Candle_X + HULL-MA_X + MacD

Ichimoku_cloud + Daily-Candle_cross(DT) + HuLL-MovingAverage_cross + MacD
any timeframe, all indicators settings adjustable for fine tuning to pair/timeframe
Target Point and Stop Loss settings
set SL low to reduce repaint
Release Notes: This still uses Ichimoku and Todays/Yesterdays Daily Candle Crossover and dual Hull Moving Average crossovers and MacD
Changes:
Added Commission and Slippage.
Updated to Version 4 pinescript.
Added option to change Candle crossover timeframe.
Edit to script to reduce repainting (Barmerge.).
Edit to MacD (EMA replaced with HMA)
Removal of TP & SL (still in script if user wants to activate it (remove the //'s)

Indicator drawing script (at bottom of script) is deactivated but ready to use (remove the //'s)
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Does it repaint :/?
+37 Reply
DennyRichforest Audacity_TV
@Audacity_TV, yes...
+6 Reply
ok everyone, This strategy is old. it repaints, and mostly because of the daily candle cross part of it.
the script is open to see. Either suggest a fix to it, or move on.
I would delete this if i were able too. No one should use this script.
The strategy actually works fine as a MT4 robot, but here on tradingview there is repainting on the chart.
Why dont yall complain to tradingview to make a backtester that doesnt repaint, then i can bring you the win

or just use MT4 robot or API robot

0_o
+24 Reply
SeaSide420 SeaSide420
@SeaSide420, you know what really sux... somoone out there knows how to fix repainting, takes this and fixes it, then doesnt share....
Charting are joke anyway

I only trade with robots, which never paint anything, they simply enter or exit trades, which cannot be repainted
+5 Reply
mortdiggiddy SeaSide420
@SeaSide420, to fix the repainting, one line needs to be changed at line 22:

from:

confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)

to:

confidence=(close-security(tickerid, 'D', close))/security(tickerid, 'D', close)

It's that simple. You were using the close of the current day which can be "seen ahead of time for historical data". What you need to do is use the current close of the day which is basically the close at any time. The previous close values marked with for the previous day are "already locked in".
+13 Reply
brad7502 mortdiggiddy
@mortdiggiddy, Are you sure this works? If you are right it's the greatest strategy of all time.
Reply
brad7502 mortdiggiddy
@mortdiggiddy, your wrong still repaints
Reply
@brad7502, how about using this?

confidence=(security(tickerid, '480', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
+8 Reply
Trade_Tech_4u SeaSide420
@SeaSide420, Hi.... Excellent script..... where can get MT4 version of this script?
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