hi i am looking for the following specific scripts


buy at market

must have the following input options.

1. lot-size : 0.01 ...... this is not to be a permanant setting. this is a setting that must be numerical.

2. lot-increase ... 0 this setting will be used to increase the lot size if option 4 is set

3. point -distance... 10 ... this is the increment distance between pending orderd in option 4 it is set 10 min .... no max

4..number of pending .... min1 max 10. pending must start at next bar start then depending on the setting there will be 1 to 10 additional pendings above and below this entry point.

ergo : if number of pendings is set to 2 for instance then the first pending will always be the start of the next bar, then two above this order and two below this entry order. there fore there will now be 5 pending orders.

5. duplicate-pending.... 0 to 5. this is the same as above but the script will duplicate it by the number set here.

0= no duplicates then any number 1 to 5 will mean that for every pending order in option 4 , a duplicate will be opened with only a variation on the lot size.

each duplicate will increase in lot size by lot-increase value set in option 2.

6. magic-number... 100001 ... this request is so that a set of orders can be recognised when they are to be deleted or closed.



sell at market

must have the following input options.

1. lot-size : 0.01 ...... this is not to be a permanant setting. this is a setting that must be numerical.

2. lot-increase ... 0 this setting will be used to increase the lot size if option 4 is set

3. point -distance... 10 ... this is the increment distance between pending orderd in option 4 it is set 10 min .... no max

4..number of pending .... min1 max 10. pending must start at next bar start then depending on the setting there will be 1 to 10 additional pendings above and below this entry point.

ergo : if number of pendings is set to 2 for instance then the first pending will always be the start of the next bar, then two above this order and two below this entry order. there fore there will now be 5 pending orders.

5. duplicate-pending.... 0 to 5. this is the same as above but the script will duplicate it by the number set here.

0= no duplicates then any number 1 to 5 will mean that for every pending order in option 4 , a duplicate will be opened with only a variation on the lot size.

each duplicate will increase in lot size by lot-increase value set in option 2.

6. magic-number... 100001 ... this request is so that a set of orders can be recognised when they are to be deleted or closed


Close order

this closes all pending and open orders specific to a magic number

Option required

1. Magic number .... the script will only close orders with this number.

2. Pending true / false... boolean option to have pendings closed with the magic number.

3. live true /false.... boolean option to have live trade with magic number closed

thankyou all assistances will be much appreciated.