help... lol...
i've spent so long on trying to figure out what this code fires when the condition is not met.... I don't want to share my sacred code lol..
Does Pie still come on here?
Your code "works" if the condition is true, you will get a pop-up alert window.
The playsound will not be heard because the alert takes priority over PlaySound
Hi again.. Well it is not triggering at the right value.. i'm checking the buffer value and there's no reason it shouldn't work.. the code is based of moving averages if that makes any difference.
When writing code, you have to be precise so that the code executes as you want.
You should also be precise when posting here so that your problem can be understood by others.
Your post is vague
"Doesn't work" is meaningless without details
Is the alert not triggering or is the alert triggering when you don't expect it to.
If the alert IS triggering
Are you checking the buffer value at the exact time of the alert?
The code checks Buffer[0], so by the time you check, Buffer[0] could have changed as could Bid and the values for the moving averages
When writing code, you have to be precise so that the code executes as you want.
You should also be precise when posting here so that your problem can be understood by others.
Your post is vague
"Doesn't work" is meaningless without details
Is the alert not triggering or is the alert triggering when you don't expect it to.
If the alert IS triggering
Are you checking the buffer value at the exact time of the alert?
The code checks Buffer[0], so by the time you check, Buffer[0] could have changed as could Bid and the values for the moving averages
It is unusual for Buffer[0] to not change. Usually an indicator is coded so that Buffer[0] is updated every tick. Of course this may not be the case here.
Show the code that assigns a value to Buffer[0]
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
}