Forum

SetIndexDrawBegin Function HELP

Hello, I'd really appreciate if someone can help me to understand the features of this function. It's especially burdensome in ichimoku kinko hyo coding. Here's the code part. (indise init function) a_begin=Kijun; if (a_begin<Tenkan) a_begin=Tenkan; SetIndexStyle( 2 , DRAW_HISTOGRAM , STYLE_DOT );

Need help for a code I've written

Hi everone, I've started writing my first EA. It contains (although somewhat simple, yet still effective) money management, stop-trailing features and a simple trading criteria I added for testing purposes. (2 MA crosses). However, when I test the code, for the first 2 order it works ok, but later