• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 12:26pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 12:26pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Question on coding script - implicit conversion error 5 replies

Script code question 2 replies

Basic Alt Key/Entry Script - Simplest Script Ever 1 reply

i like to add an indicator script into my own script. what would be the best idea? 3 replies

Really basic question about a Script 6 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Script question
Exit Attachments

Script question

  • Post #1
  • Quote
  • First Post: Dec 1, 2006 6:15am Dec 1, 2006 6:15am
  •  Markj
  • | Joined Apr 2006 | Status: Member | 527 Posts
In one of my trading systems I trade 6 lots and take profit at certain places.
Manually placing orders for 6 lots each time a trade opportunity happens takes a long time manually.

Can any tell me how hard it would write a script where you can add an entry point as a variable ext, add 6 lots that will then be added based on hardcoded take profits positions and a stop loss.

I do not have enough development experience to write a script like this but maybe if someone has something similar I might be able to modify it if pointed in the write direction.

Cheers
  • Post #2
  • Quote
  • Last Post: Edited at 7:47pm Dec 1, 2006 11:52am | Edited at 7:47pm
  •  ycomp
  • | Joined Feb 2006 | Status: Member | 800 Posts
I don't know if anything like this helps but I was working on a script to modify the Take Profit on all orders for the chart symbol.

I think it works but I haven't been using it. I wrote it quickly just to test if you can set TPs closer than the minimum distance the broker requires, if you do it programatically. I suspected you couldn't, but it was worth a shot. So I wrote this. And now I know you can't

Still it is good for setting TakeProfits on all orders for the chart symbol to any value the broker allows.
Attached File
File Type: mq4 #ModifyTP_AllOrders.mq4   3 KB | 140 downloads
 
 
  • Platform Tech
  • /
  • Script question
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022