Forum

My Advisor with my Custom indicator not showing on chart

I am a somewhat newbie, been programming Mt4 for about 2 months. Anyways, I developed this Custom indicator , not sure if its relevant but calculates everything from BAR 1 to +, basically always ignores BAR , calculation is only relevant on closed bar. I have a developed an Expert Advisor that uses

calculating Lots size

Hi, I'm new, but learning lots I have searched, but none of the solutions worked for me. Here is what I wrote for it, but the result sometimes results in not enough money ? Any specific flaw in my logic? I realize I am not including a risk here, but just want to make sure I am on the right track