I know that when I am plotting a triangle when the stoch goes above 80 I put a "removeShape(Shape.TRIANGLE)" before the instruction to plot it only once per event.
Is there a similar instruction to only play a wav file once as it crossed above the 80? I tried putting in the instruction "only the first time" and this allows the wav file to play only the first time of the day when the stoch goes above 80.
Hope this makes sense
Is there a similar instruction to only play a wav file once as it crossed above the 80? I tried putting in the instruction "only the first time" and this allows the wav file to play only the first time of the day when the stoch goes above 80.
Hope this makes sense
Comment