Triple Moving Average HeatmapHi everyone
I didn't publish on Friday because I was working on an Expert Advisor in MT4. The day I don't publish, some scripts spamming guys published many (not useful) scripts the same to kick me out of the TOP #1 ranking.
So what I'm going to do about it? crying or sharing more quality scripts than before? :)
I guess you know the answer :) I'm gonna share a few quality scripts that I have in my library. I noticed that you guys tend to like more the scripts useful for your trading actually making you money rather than a copy-paste (of another copy-paste)
Alright, enough for the trolling now let's introduce the Three MA heatmap which is an upgrade of that script : MA-heatmap-Double-cross-edition/
The challenge was to keep the heatmap not rolling and to make it match with the MA cross. I did it using this
```
since_ma_buy = barssince(macrossover)
since_ma_sell = barssince(macrossunder)
heatmap_color() =>
since_ma_buy < since_ma_sell ? color.new(color.green, 20) : since_ma_buy > since_ma_sell ? color.new(color.red, 20) : na
```
This is a technique that I found after drinking three glasses of red wine (#french) to keep the heatmap stable and not rolling.
To get what I'm saying I invite you to replace the piece of code above by what everyone would normally do
```
heatmap_color() =>
macrossunder() ? color.new(color.green, 20) : macrossover() ? color.new(color.red, 20) : na
```
Ah and I'm not done sharing for the day, a few scripts are coming also after that one and tonight !!!!! I want to live in a world where you guys can enjoy quality scripts (mostly) :)
PS
____________________________________________________________
Feel free to hit the thumbs up as it shows me that I'm not doing this for nothing and will motivate to deliver more quality content in the future.
- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python
Heatmap
MA heatmap (Double cross edition)Hello my friends
Sorry yesterday I couldn't post an indicator because I was travelling. So here's the today indicator inspired from that one Moving-Average-Heatmap-Visualization/
This will gives an interesting representation of a Double Moving Average cross
That's all for me
Let's resume the free indicators publishing next Monday with the MA heatmap (Triple cross edition) and then the 4 cross ... until the 100 cross edition .... "wait are you joking sir ?"... Totally YES :)
But the Triple cross edition will be released as it's interesting from a Pine script perspective
Enjoy your weekend and stay safe
Dave
Moving Average Heatmap Visualization7 different types of moving averages (5 different lengths of each) compared to a base moving average. Base moving average can be configured to be a slew of different types of moving averages (credit to @mortdiggiddy for the code) and have a custom length.
Red = base moving average is over other moving average (bearish)
Green = base moving average is under other moving average (bullish)
lengths for the different MAs are just fibonacci numbers due to lack of creativity.
First 5 moving averages are Simple moving average the next 5 are Exponential moving averages and after that it is weighted moving averages, volume weighted moving average (VWAP), Exponential volume weighted moving average (thanks again @mortdiggiddy ), hull moving averages and lastly zero lag moving averages.
The indicator might lag your chart out a bit so be ready for that.
Have fun!
Angled Volume Profile [feeble]BETA VERSION
this indicator maps volume as brightness over an SMA. the brightness then fades over time.
It draws 30 bands, so you will need to load multiple instances to get a large picture.
Configure the settings, then copy and paste the indicator, modifying only the vertOffset attribute each time
Patience, bruh. This takes a long time load. Chrome runs it faster than Firefox. ¯\_(ツ)_/¯
Please let me know if you can think of how to optimize it.
Feedback is appreciated is you use it :)
sample with 6 instances:
settings:
useLog: enable if you are using a log graph
rowHeight: resolution of rows.
vertOffset: normally if you have 5 instances, the values will be -2,-1,0,1,2
fadeAmt: how long it takes for volume to fade once it is picked up
volumeMin and Max: the volume range displayed.
volumeResolution: time resolution at which volume data is collected - this is why the fadeAmt is so high, and why the graph runs out of data after a period back
EMA length: its Actually SMA but I wrote it wrong. eg. for a 20 day period on a 15min chart you go ( 20 days x 24 hrs x 4 quarter hours = 1920) - I hope to automate this in a future version :p