this is a basic question and I should know the answer but I need to make sure:
what is the difference between the following codes:
1. If( SMA1 > Close && CrossAbove( SMA2, SMA1, 1))
2. if( SMA1 > Close)
If( CrossAbove( SMA2, SMA1, 1)
I am not sure when to use the “&&” and when to use different “if”
thank you
Comment