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 4,732 views
    2. thumb_up 4 thanks given
    3. group 1 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 150,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?
Multi Time Frame High/Low/Median levels
How to obtain the day of year and the week of year in Ea …
EasyLanguage Programming
Market on Close data within IB
Platforms and Indicators
[helpdcan tradestation copy trades to Eightcap MT4 & MT5
Anyone ever use "Seasonax" website?
Trading Reviews and Vendors
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
52 thanks
An embarrassing, honest confession
40 thanks
Sierra vs. Ninja : why I chose .....
9 thanks
Rithmic vs Denali - Market Depth Difference
6 thanks
Demo accounts order fill
6 thanks

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 © 2023 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