StockFetcher Forums · View by Author: (5 messages)  [ Display By: Date / Subject ]<< >> 
General Discussion · Pointers on the syntax for something like this?
epsimpson
msg #122034
11/19/2014 8:44:05 PM

closed under ma(200) more than 10 days ago
and closed above ma(200) 1 day ago

something to work with.

General Discussion · Using variable in exit setup
epsimpson
msg #122031
11/19/2014 3:42:32 PM

Hello.

I would like to use variables in my exit setup. For example, if price crosses below the 6 day low at the time of buying. Is this possible?

Thanks.

General Discussion · Count days since variable was set
epsimpson
msg #122028
11/19/2014 12:35:02 PM

Hello. Can someone please show me an example of setting a number of days as a variable?

For example, how do I set the number of days ago since--set{xhigh,close 20 day high} was set?

Is it possible to set days as a variable?

Thanks.

-E

General Discussion · Limit command to after event
epsimpson
msg #122004
modified
11/17/2014 3:49:52 PM

This is the idea. To test the sells it would help to set a variable for days between high and low. Is that possible?


Fibonacci up(45,4) crossed below .3

set{xfibhi,high 45 day high}
set{xfiblow,low 45 day low}
set{xlow,low 8 day low}
set{xrange,xfibhi - xlow}
set{xhalfrange,xrange / 2}
set{xtrigger,xlow + xhalfrange}

and closed above xtrigger

set{xsellrange,xfibhi - xfiblow}
set{xsellpeak,xlow + xsellrange}
set{xsellprofit,xsellpeak - xtrigger}
set{xsellpercent,xsellprofit / xtrigger}

and add column xsellpercent
and where xsellpercent is > .2

and average volume(100) is above 50000
and close is above .01
and offset 10 days


General Discussion · Limit command to after event
epsimpson
msg #121995
modified
11/14/2014 3:12:01 PM

I am trying to set a variable for the low after a stock reaches a high. I then want to screen for stocks that close 50% above the high and recent low. Here is my dysfunctional code. Any suggestions are appreciated.

Fibonacci up(65,10) crossed .5 from above

set{xhi,fibonacci up(65,10) high}
set{xlow,low after xhi}
set{xrange,xhi - xlow}
set{xhalfrange,xrange / 2}
set{xtrigger,xlow + xhalfrange}

and closed above xtrigger

and do not draw fibonacci up(65,10)
and draw xlow
and draw xhi

-E

StockFetcher Forums ·  · << >>

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2018 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus