Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 03:54:00 +0000



Post From: Spreadsheet - can this be done

[2015-12-09 21:08:15]
Jeff M - Posts: 21
For the Stop/Exit, how about being able to move the stop a set # of ticks below the previous bar as each bar creates a new Hi or new Low Close depending on Long or Short. Would that be a little bit easier to do than my first question dealing with the moving average?

Been trying to read all the documentation but I basically have zero coding experience (I'm relatively old) so what may seem very elementary to most, isn't quite that clear and simple to me. So with that being said and wanting to learn how to do this, am I on the correct path that I would use the Trade Management by Study study, then under Settings and Inputs tab, reference the Spreadsheet name I used for the Spreadsheet System for Trading study and then as an Input value reference a cell containing a formula that says if Close price is Higher/Lower move stop to "x" ticks above/below previous bar.

And am I correct that I would use the Available Main Price Graph Identifiers such as "C" for close in my formula?

To compare previous Close with the Close of the bar before that would it be something like: If C > C-1 then whatever the code is to move the stop? Still reading and re-reading trying to understand. EDIT: Just saw the Previous Bar Close study. Easier to alter & reference that study for the Bar and Previous Bar Close? And add multiple of same study and change input to Open or Close if I'm referencing them for what I want to do?

My apologies if these seem like very stupid questions....I want to learn. I'm sure I may have more.

Thank you, and thank you tomgilb for your response
Date Time Of Last Edit: 2015-12-09 21:27:39