About Error 130 and take small profit.

 

I just want to take Profit 0.0002 and Error 130 is occured .How can I avoid such error?

Can any one with kindness help me?

 

Even if your broker allows orders inside the spread, your TP & SL must be outside the spread

Checkout MarketInfo() function for MODE_SPREAD & MODE_STOPLEVEL

And then you also have the problem that most brokers require a target of a minimum of 5-8 pips (50-80 sub-pips) for repeated trades

Good Luck

-BB-