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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Counting Multiple Orders With Multiple Magic Numbers in one EA 6 replies

Closing Multiple Position By Magic Number 2 replies

unique magic number by pair 8 replies

multiple systems per pair/multiple pairs per system? 3 replies

Same entries, multiple risks 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: Same Magic Number, Same Pair - Multiple entries
Cancel

Same Magic Number, Same Pair - Multiple entries

  • Post #1
  • Quote
  • First Post: Dec 14, 2021 3:20pm Dec 14, 2021 3:20pm
  •  tradeChaser
  • Joined Feb 2019 | Status: Member | 184 Posts
Hello,

I’ve searched for the answer to this question, but everything close in search query is all about magic numbers on different pairs and such.

mommy question: can one magic number open multiple positions without closing the last?

for example, the pseudo code below (think Daily chart for simplicity)

if Close[1] is > 50 Mov Avg;

then open .01 lots Long.

my goal is every single candle open that meets that criteria will open a new trade, thus adding lots.

I have built something like this with EAWizard, but it doesn’t seem to be opening. I am curious if it may not work because that magic number is already in use by an open position.

thanks is in advance for any insights!
HedgeTest Return This Year: na
  • Post #2
  • Quote
  • Last Post: Dec 14, 2021 7:10pm Dec 14, 2021 7:10pm
  •  RedLineFred
  • Joined Sep 2012 | Status: Member | 327 Posts
The Magic Number is something that you can ignore unless your code uses it in determining when to trade.
It is useful if you want to keep track of how many trades of a certain type are open - you do this by assigning a magic number of your choosing to the trades and then check to see what trade has what magic number.
From your brief description it sounds like you are not assigning magic numbers and so can ignore them.
If your code is not opening trades I would look for a different problem.
" check out The Traders Outpost "
 
 
  • Platform Tech
  • /
  • Same Magic Number, Same Pair - Multiple entries
  • 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