I am trying to build a scanner, and this scanner will loop through a different list of currency pairs. After looping through them, I’ll get a score for each currency, and I just want to print that list plus their score in the chart.
From my understanding ProScreener executes the code per currency pair in a list, so, there’s no way I can sort by the strength of my scanner since the scanner has the score for all the currencies, or is there a way to compare the default used in EQUITYFRAME(default) something like IF default = "EURUSD" THEN, this will lead to a lot of lines of code, but if that works I don’t mind.
So far I had to write an indicator that gets the score based on my rules, so, in ProScreener I’m doing something like
I am doing that to get the score of all the currencies in my list, but I’m stuck on what to return in ProScanner so that I get the list of pairs sorted. That’s why I’m asking if there’s something similar to EQUITYFRAME("My List", "USDCHF") that can be used in an indicator, if there’s something, I just have to print the scores on the screen and that would be it.
I understand your query and I had the same problem recently and unfortunately, this is no possibility to know which security the screener is currently testing.
For your forex pairs currency strength, the only option would be to make a separate screener for each pair / or each currency, since I don’t know how you sort your score.
That’s a shame, I really like the platform and all what it offers(I’m new, I started using it one week ago), but it lacks a few things in its programming script/language/etc. I’d love to see full control when programming something for it. I guess I’ll give it a try later.
Is it possible to use EQUITYFRAME in an indicator with the new version of ProRealTime? I am also trying to pass an indicator with EQUITYFRAME into a screener for ranking purposes similar to the OP. I can’t find any examples online or in the documentation of being able to use EQUITYFRAME in an indicator (https://www.prorealcode.com/documentation/equityframe/).
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue