NexusFi: Find Your Edge


Home Menu

 





Strategy that involves multiple stocks


Discussion in EasyLanguage Programming

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




 
Search this Thread

Strategy that involves multiple stocks

  #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?
Are there any eval firms that allow you to sink to your …
Traders Hideout
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Futures True Range Report
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 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 Twitter Reply With Quote
Thanked by:




Last Updated on April 21, 2020


© 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