Help with coding specific entry/exit dates - futures io
futures io

Help with coding specific entry/exit dates

Discussion in EasyLanguage Programming

    1. trending_up 646 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 10 posts
    2. attach_file 1 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Help with coding specific entry/exit dates

(login for full post details)
  #11 (permalink)
Wilmington, NC
Posts: 7 since Jan 2022
Thanks: 4 given, 1 received

That almost worked. It ended up telling me I had to put contracts after "currentcontracts * 0.5" so that it says

if (date = 1170426 and time = 1600) then
Sell from Entry ("Entry1") Currentcontracts * 0.5 Contracts this bar on Close;

Not sure how that exactly makes sense but looks like it is selling half the position at least on the TradeStation charts, so I am guessing it should work the same on Portfolio Maestro since I test all my code on TS charts first anyway.

Thank you for helping to point me in the right direction with all this!

Reply With Quote

Can you help answer these questions
from other members on futures io?
Take Profit/ Tpx during crypto futures trading
Crypto Futures
Tick counter that works with directions?
Emini Trading Levels
Emini and Emicro Index

futures io Trading Community Platforms and Indicators EasyLanguage Programming > Help with coding specific entry/exit dates

Last Updated on January 13, 2022

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, 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.
no new posts