NexusFi: Find Your Edge


Home Menu

 





Help with coding specific entry/exit dates


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,671 views
    2. thumb_up 5 thanks given
    3. group 1 followers
    1. forum 10 posts
    2. attach_file 1 attachments




 
Search this Thread

Help with coding specific entry/exit dates

  #11 (permalink)
lexiegurl
Wilmington, NC
 
Posts: 7 since Jan 2022
Thanks Given: 4
Thanks Received: 1

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 NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
26 thanks
ApexTraderFunding.com experience and review
13 thanks
Trading with Intuition
12 thanks
EG Indicators
11 thanks
What is Markets Chat (markets.chat) real-time trading ro …
9 thanks




Last Updated on January 13, 2022


© 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