NexusFi: Find Your Edge


Home Menu

 





HighTick - Order Logging Strategy using Object Oriented Programming


Discussion in TradeStation

Updated
    1. trending_up 2,347 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

HighTick - Order Logging Strategy using Object Oriented Programming

  #1 (permalink)
 fiverr 
Calgary
 
Experience: None
Platform: TradeStation, MT4
Trading: ES, Stocks
Posts: 73 since Aug 2015
Thanks Given: 4
Thanks Received: 11

Hi there,

I am new with TradeStation and I came across HighTick website that provided order logging strategy. Can someone give me a hand to get it working? Below is my simple code:

 
Code
Variables:
BullishFlag( False ),
RSI_LT(0, data2),
RSI_Primary(0);
RSI_Primary = RSI( Close, 2 ) + RSI( Close[1], 2 ) + RSI( Close[2], 2 );
RSI_LT = RSI( Close data2, 2 ) + RSI( Close[1] data2, 2 ) + RSI( Close[2] data2, 2 );
BullishFlag = Close > ( Average( Close data2, 50 ) );
If ( BullishFlag ) And ( RSI_Primary < 45 ) And ( RSI_LT < 45 ) And ( EntriesToday(Date) <= 0 )
Then Buy next bar at market;
Setexitonclose;
Setstoploss(250);
What do I need to add to my code to create the order log similar to HighTick? Many thanks.




Order log output example on the HighTick website.

Started this thread Reply With Quote




Last Updated on October 25, 2015


© 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