Search found 174 matches

by sbank
Tue Mar 12, 2024 1:28 pm
Forum: QScript
Topic: Indicator Divide by Zero error for Intraday chart
Replies: 8
Views: 7888

Re: Indicator Divide by Zero error for Intraday chart

One thought is to try to change the QScript for ADX (not the function). You posted above the ADX indicator, perhaps change it (and then re-compile it): input:length(14),timingline(20),color(red),timingline_color(blue), thickness(1); if (bar_has_data) { myadx = adx(length); } else myadx=0; plot1=myad...
by sbank
Mon Mar 11, 2024 1:09 pm
Forum: Software
Topic: Indicators print additional day after the close
Replies: 6
Views: 9809

Re: Indicators print additional day after the close

Oh. That's wild! The only thing I can think of is perhaps your local time setting is not actually set to pacific time? (File -> Time Zone). My settings look like this (I am on the East Coast of the US): 2024-03-11_09-07-20.png We can probably create a QScript to print out details to try to troublesh...
by sbank
Fri Mar 08, 2024 2:34 pm
Forum: QScript
Topic: Indicator Divide by Zero error for Intraday chart
Replies: 8
Views: 7888

Re: Indicator Divide by Zero error for Intraday chart

(1) how to detect that data for days was not loaded? I believe we have available 3 months of data for equity - is my understanding wrong? Sorry can't help you. That is probably an Earik question if no one else knows on this board. (2) how to figure out cause of error message and correction required...
by sbank
Fri Mar 08, 2024 2:24 pm
Forum: QScript
Topic: Planet rise set
Replies: 4
Views: 5364

Re: Planet rise set

You should just be able to write a QScript for this: Syntax: astro_riseset(year, month, day, time, latitude, longitude, planet, return_type) Description: Returns the rising time, setting time, transit time (overhead), and itransit time (underneath) for a particular planet at a given geographic locat...
by sbank
Fri Mar 08, 2024 2:21 pm
Forum: Off Topic
Topic: Cryptocurrencies
Replies: 2
Views: 8072

Re: Cryptocurrencies

Why are the markets hyping up Crypto again? I think it is just human nature. People just want to make a quick buck as easy as possible. So all these folks with little discretionary income, will just throw around $100 here a $1000 there with the hopes that they will get rich. Get enough people doing...
by sbank
Fri Mar 08, 2024 2:15 pm
Forum: Software
Topic: Indicators print additional day after the close
Replies: 6
Views: 9809

Re: Indicators print additional day after the close

Can show a screenshot of this problem? I am trying hard to understand what you are describing. This is what it sounds like to me: 0) daily bars with a timeframe that stops at 3pm 1) You add any indicator (like USM) 2) when the day closes at 3pm, the USM indicator updates on the screen for not just t...
by sbank
Fri Jan 19, 2024 1:37 pm
Forum: QScript
Topic: Qscript for Email Alert for Exhaustion Bars and 59 patterns
Replies: 3
Views: 6618

Re: Qscript for Email Alert for Exhaustion Bars and 59 patterns

Glad this was of use! If you really want to get into QScript writing, there is the help file (which is very useful), but more importantly, just look at the indicators and functions that release with Wave59. Some of the stuff can get quite advanced, but I have learned a lot by perusing what Earik and...
by sbank
Thu Jan 18, 2024 1:45 pm
Forum: QScript
Topic: Qscript for Email Alert for Exhaustion Bars and 59 patterns
Replies: 3
Views: 6618

Re: Qscript for Email Alert for Exhaustion Bars and 59 patterns

Here's some simple code on one of the exhaustion bars types: #initialize variables if (barnum==barsback) { bs = 0; } #Exbars 1 exb1=ExBars1(6,30); if (exb1==1) { signal1=1; } if (exb1==-1) { signal1=-1; } # go long if ((signal = 1) and (bs <= 0)) { buy(1,close,"market","onebar"); SendEmail("email_ad...
by sbank
Wed Jan 17, 2024 2:21 pm
Forum: Software
Topic: Slow Stochastic and Predict
Replies: 2
Views: 6072

Re: Slow Stochastic and Predict

Stochastics(slow) is the name of an indicator . Here you would need to use the function instead. If you look at the QScript of the Stochastics Indicator, it has these parts: input:length(14),overbought(70),oversold(30),kcolor(red), dcolor(blue),zonecolor(green),thickness(1); plot1=slowk(length); plo...
by sbank
Wed Nov 29, 2023 4:47 pm
Forum: Off Topic
Topic: Great Year
Replies: 2
Views: 11835

Re: Great Year

FWIW, this is what ChatGPTs answer was. (Doesn't really help you, but I guess it shows why there is no one correct answer.) The term "Great Year" typically refers to a concept related to astronomy and astrology, representing the time taken for the sun to complete a full cycle through the twelve cons...