require code for heiken ashi color change
Buy: Heiken ashi is in Green
Sell: Heiken ashi is in red
require code for heiken ashi color change
Buy: Heiken ashi is in Green
Sell: Heiken ashi is in red
it is not possible to code with tradescript,please brief you condition , the above may give you continues signals
Brother you will never get his answer… He is such a waste. I m sure he is a zerodha staff. Your question is simplest and he is asking you that he didn’t understand it. Instead of simply saying I am not able to code this he is trying to show we are asking him wrong
BUY
SET HC = (OPEN+HIGH+LOW+CLOSE)/4
SET HO = (REF(OPEN,1) + REF(CLOSE,1))/2
SET HH = MAXOF(HIGH, MAXOF(HC, HO))
SET HW = MINOF(LOW, HO, HC)
HO = HW
SELL
SET HC = (OPEN+HIGH+LOW+CLOSE)/4
SET HO = (REF(OPEN,1) + REF(CLOSE,1))/2
SET HH = MAXOF(HIGH, MAXOF(HC, HO))
SET HW = MINOF(LOW, HO, HC)
HH = HO
please brief you condition , the above may give you continues signals
Hi…Thanks for showing interest in my question…
Actually I wan to buy a script when heiken ashi is in green colour and want to hold it till heiken ashi changes its color from green to red. and vice versa…I want to trade the script in 15 minute time frame…
Thanks for the code bro. It looks perfect. Could you please tell me what HO = HW does?