pls. Try again, if it doesn't work, I (really ) cannot find the mistake (and do not want to spend an excessive amount of time with searching the error), so last attempt variant 1.2Originally Posted by ;
edit: enhanced crossing-detection too...
notice that there should be only 1 alert per bar. If you place alertcandle=0 (current bar) and it repaints, you won't get the last alert maybe...
https://www.forexsoutheast.asia/atta...318285002068.2