NexusFi: Find Your Edge


Home Menu

 





Help with coding specific entry/exit dates


Discussion in EasyLanguage Programming

Updated
    1. trending_up 5,678 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?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
Quantum physics & Trading dynamics
The Elite Circle
Strategy stop orders partially filled
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
43 thanks
Just another trading journal: PA, Wyckoff & Trends
22 thanks
Trading with Intuition
18 thanks
Self sabotage reframed
15 thanks
GFIs1 1 DAX trade per day journal
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