Forum

martingale on next bar

Hey guys can some one help me on this code as it does do martingale but on the next signal (arrow) and i want it to trade on the next bar. so if a signal(arrow) comes up and opens a trade which it losses it then must do martingale on the next bar till it wins. please help extern string note1 =

icustom buy and sell issue NEED HELP Please!

2015.05.07 11:06:32.484 '610589287': order buy 14.00 AUDCAD.bo opening at market sl: 0.00000 tp: 0.00000 failed [Invalid parameters ] thats the error i get but it does open orders sometimes but alot of times it shows that error above void OnTick () { int total= 0 ; bool newb=NewBar(); int

Compound code really need help

Hey guys can any one help me on code for compound in my ea lets say base trade amount 10USD So its our 1st trade and it won so we have now 17USD total 2nd trade: last base trade = 10USD + X %of profit of last trade so 2nd trade lets say 12USD 3rd trade is last trade = 12USD + Profit of last

icustom issue

Heys guys plz can some one help me as my ea compiles perfect but does not take a trade when i set these values for the indicator. but if i change it to if (arrowup > 0.0001) then takes trade like crazy so i know the buy and sell fuction work. please if any one can help. double arrowup= iCustom (