amibroker how to exit if statement

#1
Hello,

i would like to know how to stop execute the second if statement when the first one has matched.

if (lastvalue(close) > 500) {
printf("middle cooripate");

}
if (lastvalue(close) > 80) {
printf("small cooripate");

}
 

Similar threads