Forum

Request help to modify my code to draw lines only from the hi/lo and skip inbetween candles

Hi, i am trying to code an indicator that draws lines between swing hi and lows but the code I have is connecting the hi/lo of the candles in between. In the diagram I would like 1 line between the H and L or L and H as shown in yellow in the diagram and not many segments for a single line. Thanks

EA not playing sound, please help

I am trying to write a EA that stops for a few seconds after the close of every bar. Here is the code, it pauses after the bar close but does not play sound, any help appreciated. Thanks _______________________________________________ extern int secsToPause = 5 ; int last_time = - 1 ; int init() {