Multi-study scoring - futures io
futures io futures trading



Multi-study scoring


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Big Mike with 10 posts (1 thanks)
    2. looks_two vegasfoster with 8 posts (8 thanks)
    3. looks_3 ejtrader with 2 posts (1 thanks)
    4. looks_4 slickiam with 1 posts (1 thanks)
      Best Posters
    1. looks_one vegasfoster with 1 thanks per post
    2. looks_two slickiam with 1 thanks per post
    3. looks_3 ejtrader with 0.5 thanks per post
    4. looks_4 Big Mike with 0.1 thanks per post
    1. trending_up 2,529 views
    2. thumb_up 11 thanks given
    3. group 4 followers
    1. forum 18 posts
    2. attach_file 9 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Multi-study scoring

(login for full post details)
  #1 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received

I confess I have never taken the time to learn Sierra's ASCIL programming even though I've been using Sierra for a couple of years or more (who can keep track...)

So I would appreciate it if one of you guys could write this for me:

a) Four inputs, second-fourth are optional. Input should be like the Study Price Overlay feature, where you can select a separate chart and then a particular study on that chart as the input.
b) Multiplier, each input should have a variable (double) multiplier. Default is 1 for all four.
c) When an input is rising, the score is +1 * multiplier for that input. When falling it is -1 * multiplier. It's a cumulative value.

All the time frames for the inputs will be consistent.

An example:
Input 1: Chart #5, ID 2. Value is currently rising.
Input 2: Chart #5, ID 3. Value is currently falling.
Input 3: Chart #11, ID 2. Value is currently rising.
Input 4: Chart #12, ID 4. Value is currently rising.

Score would be +1, -1, +1, +1 = 2.

If the prior bar score was 11, we add 2 to get 13 going into the next bar (cumulative).

If anything is unclear please let me know.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
The following user says Thank You to Big Mike for this post:

Can you help answer these questions
from other members on futures io?
EL/PL for FOPs?
EasyLanguage Programming
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
Strategy Builder - configure a profit target PnL condition?
NinjaTrader
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
118 thanks
Big Mike in Ecuador
66 thanks
If you needed one-on-one help with any trading issue, ho …
31 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Building a Crypto Mining Rig
21 thanks
 
(login for full post details)
  #2 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

Do you want it to reset at a specific time or accumulate from the beginning?

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
(login for full post details)
  #3 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received



vegasfoster View Post
Do you want it to reset at a specific time or accumulate from the beginning?

No reset, just cumulative values from beginning.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

What about equals to, same as previous value or zero?

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
(login for full post details)
  #5 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received


vegasfoster View Post
What about equals to, same as previous value or zero?

If flat (not rising or falling) score would be 0.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
Tomsk, Russia
 
Experience: Beginner
Platform: custom
Trading: gold
 
slickiam's Avatar
 
Posts: 272 since Dec 2010
Thanks: 133 given, 433 received


Big Mike View Post
I confess I have never taken the time to learn Sierra's ASCIL programming even though I've been using Sierra for a couple of years or more (who can keep track...)

So I would appreciate it if one of you guys could write this for me:

a) Four inputs, second-fourth are optional. Input should be like the Study Price Overlay feature, where you can select a separate chart and then a particular study on that chart as the input.
b) Multiplier, each input should have a variable (double) multiplier. Default is 1 for all four.
c) When an input is rising, the score is +1 * multiplier for that input. When falling it is -1 * multiplier. It's a cumulative value.

All the time frames for the inputs will be consistent.

An example:
Input 1: Chart #5, ID 2. Value is currently rising.
Input 2: Chart #5, ID 3. Value is currently falling.
Input 3: Chart #11, ID 2. Value is currently rising.
Input 4: Chart #12, ID 4. Value is currently rising.

Score would be +1, -1, +1, +1 = 2.

If the prior bar score was 11, we add 2 to get 13 going into the next bar (cumulative).

If anything is unclear please let me know.

Mike

hi Mike

this is a part from one of my study

maybe it will be close to your needs

hope it gives you a way to solve the task

btw: check Global Settings >> General Settings >> Use Controlled Order Chart Updating to be sure the sum was updated in right order

gd lck

Scientia Libertas Prosperitas
Attached Files
Register to download File Type: cpp mss_b1.cpp (3.4 KB, 11 views)
Reply With Quote
The following user says Thank You to slickiam for this post:
 
(login for full post details)
  #7 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

Let me know if you want to make changes. Pic shows 4 sma's.


Attached Files
Register to download File Type: dll BMMultiStudyScoring.dll (27.5 KB, 5 views)
Register to download File Type: cpp BMMultiStudyScoring.cpp (4.2 KB, 7 views)
Reply With Quote
The following 2 users say Thank You to vegasfoster for this post:
 
(login for full post details)
  #8 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

Sorry, forgot to make the chart selectable. Just a second.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
(login for full post details)
  #9 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

Didn't see the other post, nevermind.

Reply With Quote
 
(login for full post details)
  #10 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received


Vegas please proceed

Sent from my Nexus 4

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #11 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received


Big Mike View Post
Vegas please proceed

Sent from my Nexus 4

Pretty please...



Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #12 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

Just saw this a few minutes ago. So, when adding the chart id and pulling from a study on the same chart the study has to be ordered below the referenced studies or the values are zero. I really haven't done a whole lot with referencing other chart id's, so I am not sure why this is. Will try to figure it out tomorrow, if i cant then i'll just post with the order caveat, which shouldn't present any other issues.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
(login for full post details)
  #13 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

I think it's fixed, let me know.

Attached Files
Register to download File Type: cpp BMMultiStudyScoring.cpp (5.3 KB, 11 views)
Register to download File Type: dll BMMultiStudyScoring.dll (27.5 KB, 7 views)
Reply With Quote
The following 2 users say Thank You to vegasfoster for this post:
 
(login for full post details)
  #14 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received


vegasfoster View Post
I think it's fixed, let me know.

I likely won't have time for several days but appreciate it.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #15 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received

"Pure inspired genius"



I am messing with this now...

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #16 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received

Vegas,

Hitting a bit of a problem. I can select the chart # correctly, but the list of studies within that chart are not populating. Instead it is populating the list of studies from the chart the indicator is attached to.

I tried applying it and coming back and same thing, the drop down list of studies to select is coming from the wrong chart (coming from applied chart instead of specified chart).

Now a workaround is possible, I could use the Study Price Overlay study and then have all of them on my chart, hidden, but it defeats part of the purpose of this indicator.

You might look at the Study Price Overlay study as an example, it lets you choose the chart and pulls the indicators from that chart.

Thanks for your time and effort!

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #17 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received

Visually:

The 'study/price overlay' study does it:



Yours is just listing the studies on this chart and not on chart #21



Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #18 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,628 received

Hoping perhaps @aslan can fix it, please?

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #19 (permalink)
Portland, OR
 
Experience: Intermediate
Platform: Sierra Chart
Trading: ES
 
Posts: 269 since Jan 2011
Thanks: 327 given, 180 received

@Big Mike - Here is the same code that vegasfoster built but modified the inputs as per your requirements.

PS: Haven't tested the functionality myself.. just modified the inputs section. Also might be a good idea to calculate the score either at the beginning of the bar or end of the bar to save CPU cycles (where this study is inserted). If so the code needs to be updated.

@Big Mike - One more update - Please pick up the current version instead ( replaced previously updated files )

Attached Thumbnails
Click image for larger version

Name:	BMT_MultiScore.png
Views:	54
Size:	48.7 KB
ID:	107729   Click image for larger version

Name:	BMT_MultiScore_Inputs.png
Views:	56
Size:	60.7 KB
ID:	107730  
Attached Files
Register to download File Type: cpp BMMultiStudyScoring.cpp (4.8 KB, 12 views)
Register to download File Type: dll BMMultiStudyScoring.dll (28.5 KB, 6 views)
Reply With Quote
The following user says Thank You to ejtrader for this post:


futures io Trading Community Platforms and Indicators Sierra Chart > Multi-study scoring


Last Updated on April 4, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts