Only Close Open Positions? - AmiBroker | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > AmiBroker

Only Close Open Positions?
Started:September 23rd, 2014 (03:59 AM) by davetapson Views / Replies:528 / 0
Last Reply:September 23rd, 2014 (03:59 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Only Close Open Positions?

Old September 23rd, 2014, 03:59 AM   #1 (permalink)
Trading Apprentice
Benoni, South Africa
Futures Experience: Beginner
Platform: Amibroker
Favorite Futures: Index Futures
Posts: 2 since Aug 2014
Thanks: 0 given, 0 received

Only Close Open Positions?

Ok, so I'm still trying to get the hang of this, so be gentle...

I've set up a trading system using AFL, but when I display the buy/sell arrows, it seems that my sell condition is being triggered even if there is not a corresponding open position.

I have maxLongPositions / maxShortPositions / maxOpenPostions all set to 1.

1. Does AmiBroker automatically check if there is an open position before firing a close?
2. Or do you need to code the check? If so, can someone point me to how?


Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > AmiBroker > Only Close Open Positions?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make program close all positions by 4:15PM EST? honoluluhustler EasyLanguage Programming 4 July 7th, 2014 03:08 PM
Open positions over the weekend managing? frespr8td The Elite Circle 3 April 15th, 2014 03:18 PM
Open Traders Positions Athan The Elite Circle 10 March 31st, 2013 12:29 AM
Open to Open & Close to Close for direction change aquarian1 Index Futures Trading 10 December 15th, 2012 06:59 PM
Volitility indicator question - Open - Open / open - close / close to open andresimon NinjaTrader 2 September 27th, 2010 12:33 AM

All times are GMT -4. The time now is 11:01 AM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-27 in 0.06 seconds with 19 queries on phoenix via your IP