NexusFi: Find Your Edge


Home Menu

 





strategies on data2?


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Sinatra Fan with 4 posts (0 thanks)
    2. looks_two ShadowFox with 4 posts (1 thanks)
    3. looks_3 ABCTG with 1 posts (2 thanks)
    4. looks_4 edgefirst with 1 posts (0 thanks)
    1. trending_up 10,501 views
    2. thumb_up 3 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread

strategies on data2?

  #11 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157


Sinatra Fan View Post
Fox,

This is the first I've heard or seen the reserve word "SetExitOnClose". I just looked it up. According to MC's Keyword Reference, it says...
Closes out the current position at the Close tick of the last bar of the trading session on an intra-day chart; generates the appropriate Market exit order depending on whether the position is long or short.

SetExitOnClose function uses the session closing time specified in the session settings for the symbol in the QuoteManager.
So I'm wondering... if I set the session closing time to be the time I want all open positions to be closed at 4:05 PM EST, according to MC, this function should in fact close out any open positions, right???

That is correct, as soon as the last bar closes in the session it will generate a close market order. It only works in reality with a custom session as by the time the final bar closes under a regular session, the market is closed.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Quantum physics & Trading dynamics
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
use extra computer for optimisation
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Cheap historycal L1 data for stocks
Stocks and ETFs
 




Last Updated on October 25, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts