NexusFi: Find Your Edge


Home Menu

 





Help with coding specific entry/exit dates


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,752 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?
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Zombie Indicator Help
NinjaTrader
Legends Trading: Ask Me Anything (AMA) w/Greg Khojikian CEO
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Vinny E-Mini & Algobox Review TRADE ROOM
74 thanks
GFIs1 1 DAX trade per day journal
21 thanks
Trading with Intuition
9 thanks
Just another trading journal: PA, Wyckoff & Trends
7 thanks
Risk/reward above 1.0
7 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