PROTECTED SOURCE SCRIPT
已更新

cheesywedges MTF MACD+Stoch+Ichi+PSAR

2 837
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

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。