delliott5
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: January 16th, 2024
Contact: TradingView Profile

Cannot get Alertcondition to combine two alerts into one

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}}")

Return to “Introductions”