TradingView
TJalam
13 มกรา 2021 เวลา 3 นาฬิกา 48 นาที

Modified Smoothed Heiken Ashi 

MAHINDRA &MAHINDRANSE

คำอธิบาย

This code is based on Smoothed HA candle which will work on all chart types
condition for BUY:
1. When close crosses Smoothed HA
2.Close should be in side upper band
3.BBW must be greater than the average

vice versa for sell
this code takes data from HA chart so that it can be applied on all chart type.
Bollinger band and Bollinger band width conditions added for removal of unwanted signals
Alert added so that you can apply alert and check it in real time performance
thanks to The Secret Mindset You tube channel from where I got the idea to convert this into a pine script indicator
smooth HA taken from "Smoothed Heiken Ashi Candles v1" at //@jackvmk

เอกสารเผยแพร่

updated BBW length to 20 on screen

เอกสารเผยแพร่

Added option to look data of different time frame.
Check out the new option added to change Time frame ,"Enter the time frame"
By default it is set to '60' , you can change it and get lower time frame or higher time frame data.

Added some improvement to the strategy.

เอกสารเผยแพร่

updated codes

เอกสารเผยแพร่

updated strategy.
ความคิดเห็น
HarshalJadhav
is it possible to automate this for banknifty options trading?
azertyy01
Thank you, I will try this out.
TJalam
@DAVEEEEEEE, My pleasure :)
AGT-Ventures
Like your script and thanks for sharing! is it also possible to plot the HA candles on lower time frame and the data is from a higher time frame? e.g. looking at 5M time frame but the HA candles is using 60M time frame?
TJalam
@AGCrypto23, Check out. I have updated the codes. Added option to look data of different time frame.
Check out the new option added to change Time frame ,"Enter the time frame"
By default it is set to '60' , you can change it and get lower time frame or higher time frame data. Looking at lower /higher time frame data may not give results as expected.
davidvm
This gives a lot of wrong or even opposite signals, or am I reading it wrong?
lemoon38
Hi, I really liked your work, tell me how to change the color in places, green top red down?
TJalam
@lemoon38,you can change it in line no 38,65,62. If you are not able to do it yourself then mention all the colour you want explaining in chart (share chart link here) and i will do it for you.
lemoon38
@badshah_e_alam, Thank you very much for your answer, I did it differently. Did I swap col = o2> c2? color.red: color.lime on line 36
เพิ่มเติม