Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Does anyone know a coding example of how I could have a script (Ninja) reference another script to check for a True / False condition ? I want to have one script controller the order / stops, but reference the main script for a True / False entry / Exit rule every bar.
It's not very clear, depends what "script" means to you.
Do you want:
#1 a strategy getting signals from another strategy ?
or
#2 a strategy getting signal from an indicator ?
If you are only dealing with True/False conditions you could set a BoolSeries in one strategy/indicator and expose it, then read it from strategy two, right?
Thanks for the replies, I'll check out that thread link. I was hoping it was going to be as easy as using multiple time frames from one strategy to another.
Your idea sounds good eDanny, just need to work out how to impliment it.