Forum

RSI on ROC (Momentum Pinball Indicator) Not Working - What am I doing wrong?

Dear All, Here is the indicator code...it compiles ok but doesn't show any values. In debugging, I found that it is unable to populate ROC array..what am I doing wrong? ************************************************************************************************

Why is my IF statement not working? Help please ....

#property indicator_separate_window #property indicator_minimum - 10 #property indicator_maximum 10 #property indicator_buffers 3 #property indicator_color1 Red #property indicator_color2 LimeGreen #property indicator_color3 DodgerBlue //---- input parameters extern int BB_Period = 20 ; extern

Writing EA output/messages to output file(s)

Hi, I tried the FileWrite function and it works, but it writes only one line...how do I use it in 'append' mode so the output file can store the complete history of EA run in backtesting? I'm attaching my code below... handle = FileOpen ( " Pivots " , FILE_CSV | FILE_WRITE , ';' ) ; if ( handle > 0

Changing Arrow Sizes in Custom Indicators

I wanted to know how to change the size of the arrows...for example, here is my code to draw a BUY arrow on the chart.. SetIndexStyle ( 0 , DRAW_ARROW ) ; SetIndexArrow ( 0 , 108 ) ; SetIndexBuffer ( 0 , ExtMapBuffer1 ) ; SetIndexLabel ( 0 , " BUY " ) ; SetIndexEmptyValue ( 0 , 0.0 ) ; See the GIF