Announcement

Collapse
No announcement yet.

stops with the wizard

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

  • #16
    thanks again alex

    regards

    richard

    Comment


    • #17
      ONE LAST THING ALEX.

      HOW DO I SET A STOP AT ONE TICK ABOVE OR BELOW THE DONCHIAN?

      RICH

      Comment


      • #18
        richard
        EFS has no knowledge of what 1 tick corresponds to and with the Formula Wizard it is not possible to define custom variables so you will have to manually modify the commands in Set1 and Set2
        For example in Set1 the command to go long is
        Strategy.doLong("", Strategy.STOP, Strategy.THISBAR, Strategy.DEFAULT, vDonchian.getValue(DonchianStudy.UPPER))
        You will need to change it to the following
        Strategy.doLong("", Strategy.STOP, Strategy.THISBAR, Strategy.DEFAULT, vDonchian.getValue(DonchianStudy.UPPER)+0.01)
        Note that the above assumes that 1 tick is equal to 0.01. Replace 0.01 with whatever value is appropriate.
        In the case of Set2 you will have to subtract the value of 1 tick from the Lower Donchian channel.
        Hope this helps
        Alex

        Comment


        • #19
          alex

          how do you count back one bar to colour fro an alert?

          is it just -1 in there somehow?

          richard
          Attached Files

          Comment


          • #20
            i am obviously slow on the uptake.

            why is this not working??

            r
            Attached Files

            Comment


            • #21
              richard
              In Set3 Strategy.STOP has no price defined - should be vDonchian.getValue(DonchianStudy.LOWER)
              Alex

              Comment

              Working...
              X