PROTECTED SOURCE SCRIPT

cheesywedges MTF MACD+Stoch+Ichi+PSAR

מעודכן
This is a heatmap created to show 4 key indicators MACD, Stochastic, Ichimoku and PSAR. Adjust TF accordingly. Default is incremental by 45 minutes.

One advantage is you can see as the indicator current candles change from green to red or the other way round as the current trend changes. Eg. MACD attempting to cross Signal and the candle will flicker red to green and you can see it happen on multiple TF.

Standard Settings
  • PSAR - Start, Increment and Max Value
  • Stochastic - K,D,Smooth, Upper and Lower
  • MACD - Fast, Slow and Smooth
  • Ichimoku - Conversion Line, Base Line Periods, Lagging Span and Displacement


Advanced Settings (MACD)
  • MACD/Signal Crossover , eg. Long = MACD > Signal
  • MACD/Signal + Histogram Crossover , eg. Long = MACD > Signal and Hist > 0 and Signal > 0
  • MACD/Signal Crossing, eg. Long = MACD > Signal and previous MACD < previous Signal
  • MACD/Signal + Histogram Crossing, eg. Long = MACD > Signal and previous MACD < previous Signal and Hist > 0 and Signal > 0 and previous Hist > previous Signal
  • For normal usage, just use MACD/Signal Crossover


Recommended Settings
  • Ichimoku 20, 60, 120, 30


If customized enhancement required drop a message and I'll see what I can do.
הערות שחרור
Update to cater the following timeframe. Please let me know if there's a quicker way to do the conversion.

string_to_res(str)=>
res = iff(str == "1" , 1 ,
iff(str == "3" , 3 ,
iff(str == "5" , 5 ,
iff(str == "10" , 20 ,
iff(str == "15" , 15 ,
iff(str == "20" , 20 ,
iff(str == "30" , 30 ,
iff(str == "45" , 45 ,
iff(str == "60" , 60 ,
iff(str == "90" , 90 ,
iff(str == "120", 120 ,
iff(str == "180", 180 ,
iff(str == "240", 240 ,
iff(str == "300", 300 ,
iff(str == "360", 360 ,
iff(str == "720", 720 ,
iff(str == "D" , 1440,
iff(str == "1D" , 1440,
iff(str == "3D" , 1440 * 3,
iff(str == "W" , 1440 * 7,
iff(str == "1W" , 1440 * 7,
999)))))))))))))))))))))
res
הערות שחרור
Updated chart
heatmapMoving Average Convergence / Divergence (MACD)Parabolic Stop and Reverse (PSAR)psarStochastic Oscillator

סקריפט מוגן

סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור