Access Vertex, PoF, etc from qscript

Have a QScript to share, or need help with programming? Post your comment here.
Post Reply
en1940
Posts: 18
Joined: Sun Nov 22, 2015 5:41 pm
Location: Homeless
Contact:

Access Vertex, PoF, etc from qscript

Post by en1940 » Tue Mar 13, 2018 7:23 am

Hi folks,

How do I access fast moving points: Vertex, Point of Fortune, Asc, MC from qscript??
I dont see it in astro() function... Is it possible at all?

Regards,
Ev

User avatar
earik
Site Admin
Posts: 474
Joined: Mon Dec 01, 2014 12:41 pm
Contact:

Re: Access Vertex, PoF, etc from qscript

Post by earik » Tue Mar 13, 2018 4:39 pm

Hi Ev,

Look at the astro_location( ) function. It will get you the ASC, MC, Vertex, and East Point. To get the Part of Fortune, you'd have to calculate it yourself using the Sun, Moon, and ASC.

Regards,

Earik

David
Posts: 24
Joined: Tue Jul 21, 2015 9:01 pm
Contact:

Re: Access Vertex, PoF, etc from qscript

Post by David » Tue Mar 13, 2018 10:49 pm

input:exchange("c"),go_geo(true),go_tropical(true);

if(barnumber==barsback) {
str="";
str1="";
str2="";
pin = c;


exchangeFound=true;
if (strlower(substr(exchange, 1, 1)) == "n") {
latitude = 40.7056 ;
longitude = 74.008;
}
else if (strlower(substr(exchange, 1, 1)) == "c") {
latitude = 41.8868;
longitude = 87.6386;
}
else if (strlower(substr(exchange, 1, 1)) == "f") {
latitude = 50.12;
longitude = -8.67;
} else {

exchangeFound=false;

}

if(barnum==updating_bar-1) {
pin = c;
}

mid=astro_location(currentyear,currentmonth,currentday,currenttime,latitude,longitude,astro_midheaven,go_tropical);
asc=astro_location(currentyear,currentmonth,currentday,currenttime,latitude,longitude,astro_ascendant,go_tropical);
sun = astro(currentyear,currentmonth,currentday,currenttime,astro_sun,true,astro_long ,go_tropical);
moon = astro(currentyear,currentmonth,currentday,currenttime,astro_moon,go_geo,astro_long ,go_tropical);
fortuna = asc + moon - sun;
#Fortuna=Ascendant+Moon-Sun need to build in
str = mid + " " + "mid";
str1 = asc + " " + "asc";
str2 = fortuna + " " + "fortuna";

text(updating_bar-1,pin,str, red, ps_solid,8);
text(updating_bar-1,pin + 20,str1, red, ps_solid,8);
text(updating_bar-1,pin + 40,str2, red, ps_solid,8);


}
Last edited by David on Tue Mar 13, 2018 11:04 pm, edited 2 times in total.

David
Posts: 24
Joined: Tue Jul 21, 2015 9:01 pm
Contact:

Re: Access Vertex, PoF, etc from qscript

Post by David » Tue Mar 13, 2018 10:51 pm

this will pin the current location of the new York exchange "n" or the Chicago exchange "c" or the Frankfurt exchange "f" and the fontuna check the math on it,,,, to the the second to last bar on the chart. astro location uses currenttime

let me know if this helps

David

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests