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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Someone needed to code a simple EA 6 replies

Help Needed With Simple EA Code 6 replies

2 simple lines of code needed, please help 18 replies

Simple close script - some help with code needed 2 replies

SIMPLE EA for a simple method needed!! 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Help - need to change code in a Simple EA
Exit Attachments
Tags: Help - need to change code in a Simple EA
Cancel

Help - need to change code in a Simple EA

  • Post #1
  • Quote
  • First Post: Nov 22, 2022 11:44am Nov 22, 2022 11:44am
  •  wingate
  • | Joined Mar 2010 | Status: Member | 232 Posts
Hi,

I was wondering if a coder may be able to help me out please. I use an EA that performs a relatively simple task. There are very limited commands to enter into the settings box.

1. Candle Size (GapinPips)
2. Take Profit

That is it. The EA will either open a Buy or Sell position based on your input when the candle size reaches the size you input in the settings. If price is going UP then the EA will open a SELL position. Vice versa if price is going down the EA will open a BUY position.

If price moves against your open position the EA will open another position at the beginning of each candle thereafter that is furthest away from the previously opened position (i.e. averaging down).

I would like the EA to open positions following the current trend so basically the complete OPPOSITE commands to what is coded currently. I have attempted to change this myself (Trial & Error) but although I could get the EA to open a position in the opposite direction I could not make it open further positions when price went against me.

Would anybody be willing to take up the challenge? I would be extremely grateful.

Thank you, Thank you, Thank you.

Attached Image (click to enlarge)
Click to Enlarge

Name: DOS Settings.jpg
Size: 74 KB

Attached File(s)
File Type: ex4 xm7_DailyOpenStrategy_v2.ex4   34 KB | 19 downloads
  • Platform Tech
  • /
  • Help - need to change code in a Simple EA
  • 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 / ©2023