help needed for trading longs and shorts - is there a code available to test

 

I am trying to create a code which works on ask and bid together.

However, I'm new and I don't know how to write it. Can you help me to write this code

The code I want is

Buy .05 lot if the bid is up 3 pips , trailing stop =15 pips

Sell .05 lot if the ask is down 3 pips, trailing stop =15 pips


PS: Can I leave lot empty to buy maximum lot with the available funds.


Thank you for your help

 
ayhan:

I am trying to create a code which works on ask and bid together.

However, I'm new and I don't know how to write it. Can you help me to write this code

The code I want is 

  1. All do, you buy at the ask and sell at the bid. TP/SL is the opposite of the order type.
  2. See below
  3. See below
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.