NexusFi: Find Your Edge


Home Menu

 





Strategy that involves multiple stocks


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
greggotanafro
Dallas + Texas
 
Posts: 4 since Apr 2020
Thanks Given: 2
Thanks Received: 1

Hello! New to EL as a programming language and struggling to find an answer:

How can I add info about another ticker into a strategy? Example- if $TICK is at a certain value, or flips from positive to negative, strategy does X Y Z.

Is it possible?! Also, while youre here, I was wondering if its at all possible to strategy/algo trade options in TradeStation with EL and no API? I cant access the TradeStation forums even though I have an account...dealing with Client Services as we speak.

Thanks so much in advance!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CPI Eve: Fed Hike Odds Hold at 52% for the First Time, I …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Trump Media to sell instant access to market-moving soci …
Traders Hideout
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
greggotanafro
Dallas + Texas
 
Posts: 4 since Apr 2020
Thanks Given: 2
Thanks Received: 1

Solved:

Im struggling to make it eloquent but I added the desired Symbol as an additional data stream on a chart and hard coded the desired parameters into the EL file. (example: if High of Data2 < 10 buy)
Then I can run the backtester in Portfolio Maestro and use options to set DATA2 to the desired symbol. Now I can see how my strategy does with different stocks.

GOAL:
Basic proof of concept automated trader that waits for RSI to go below 30 and for $TICK to be highly positive to buy. Then it sells when $TICK decreases a certain amount. I wanted to build and test it and see how it does across many assets or with a different correlated stock to replace $TICK.

If anyone knows a better way of what I'm trying to do, please let me know!


Reply With Quote
  #3 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
Posts: 96 since Sep 2016
Thanks Given: 7
Thanks Received: 35


use data2. For example if you want to sell when the vix is over the 10ma of vix your condition would be like this: condition1 = close > average(close of data2,10); Then you set vix as data2 in the chart by inserting symbol. Works for whatever symbol you want to insert


Follow me on X Reply With Quote
Thanked by:




Last Updated on April 21, 2020


© 2026 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 - Downloads - Top
no new posts