Announcement

Collapse
No announcement yet.

Boolean variable for Stops

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Boolean variable for Stops

    I'm trying to program a new formula that will automatically enter and exit trades with stop losses implemented. How would I make it so I could know if I have reached the stop or not? For example, if there was such a function as the following:

    If (StopReached() )
    ...

    Something like the above is what I need. I need to know at the particular instant if the Stop has been reached or not. How would I do this?

  • #2
    If this is for RT alerts, just calculate your own stop and use the Alert.<whatever> or similar to announce that a stop should be taken.

    If this is for some other purpose, please explain further and maybe we can help.

    G
    Garth

    Comment

    Working...
    X