Questions for tag "coding" (3)

Votes
Answers
Views
Question
0
votes
1
answer
317
views
asked 5 years ago by
Category: Strategy Guide
I am trying to backtest a strategy of 9/20 ema crossing (buying or shorting on the crossover) and am having a little issue. My code will initiate the initial buy when I want it to but it won't sell out and rebuy when the criteria is met. Any thoughts...
0
votes
1
answer
103
views
asked 6 years ago by
Category: Chart Studies
I need help with some code logic. suppose x is the high and y is the low of an indicator. how do I make a variable true if "close crosses above x" and false when "close crosses below y"? The problem if I use "close crosses above x" is that it will on...
0
votes
4
answers
1324
views
asked 7 years ago by
Category: Stock Scanners
I can get the candles to match two of the four colors. Can anyone assist to make it all match? Here's the link to my semi-custom indicator [REMOVED BY MODERATOR]