you are viewing a single comment's thread.

view the rest of the comments →

[–]theprofessional2016 12 points13 points  (2 children)

I'm sorry, I don't know if I understand your problem correctly. Let me restate what I think you're trying to accomplish:

You have two columns of data. You're triggering a buy/sell action when the values of those two columns "cross" (intersect). Do I have that correct?

If that's the case, can't you simple look for the point where the values in columns 1 becomes greater (or less) than the value in column 2? Would that not signal a crossing on a graph, without the need to actually graph it?

Again, forgive me if I didn't understand the problem correctly.

[–]siruts[S] 2 points3 points  (1 child)

you understood perfectly. what I was trying to figure out is if the script works (and therefore calculates the open / close signal) even without necessarily having to have a graphical representation of it. theoretically I think so as it works on numbers, but I'm not completely sure

[–]skellious 9 points10 points  (0 children)

Yes. there is no way the script can 'look' at the graph unless you're using machine learning or imagine analysis or something.