Page 1 of 1

Cannot get Alertcondition to combine two alerts into one

Posted: Tue Jan 16, 2024 12:36 pm
by delliott5
I've combined two sperate indicators (Wavetrend & Dual WMA Crossover) to give a single alert when both alerts align as a potential entry point - however I cannot get the single alert to function when alignment is done - as they still alert independently. Can anyone point me to a section in Pine Script that I can read up on to assist me in correcting this issue. Many Thanks in advance

PS:- the alertcondition code last line is below - I can post the entire script if required

alertcondition(WmaCross and wtCross , "Dual Cross Alert WmaCross/wtCross" , "Dual Cross Alert WmaCross and wtCross; {{ticker}}, {{close}}")