"Save as" different name changes original EA? -Also LimitOrder code problem

 

When I change the code on an EA then save it as different name it changes the one I am working on .

Anyone ever have this problem? Don't know if it's in the platform or my computer.

Also I have never used a limit order in the code before.Just market orders.

For example : Buy 3 pips below Ask[0]

SellShort 3 pips above Bid [0]

I know there are probably different ways of doing this.

What is a good and simple way?

JimTrader1

 
jimtrader1:

When I change the code on an EA then save it as different name it changes the one I am working on .

Anyone ever have this problem? Don't know if it's in the platform or my computer.

I think it is normal behavior. If you are working on Version1 and make changes so it becomes Version2 when you do a Save As and save to Version2 the code you are now working on is Version2 . . . not Version1
 
jimtrader1:

Also I have never used a limit order in the code before.Just market orders.

For example : Buy 3 pips below Ask[0]

SellShort 3 pips above Bid [0]

I know there are probably different ways of doing this.

What is a good and simple way?

JimTrader1

I think your trading strategy will dictate how and where you place pending orders . . . this is a good read and something you should build into your code: Making Trades
 
jimtrader1:

When I change the code on an EA then save it as different name it changes the one I am working on .

Anyone ever have this problem? Don't know if it's in the platform or my computer.

Also I have never used a limit order in the code before.Just market orders.

For example : Buy 3 pips below Ask[0]

SellShort 3 pips above Bid [0]

I know there are probably different ways of doing this.

What is a good and simple way?

JimTrader1


Ask[0] ???? Bid[0] ????

Mistake I think .....

Reason: