Pictured above is the raw code for my strategy.
From lines 56 to 62 are my user input values I set as doubles to tag specific price points.
Beginning from line 82, I tell the robot to place orders at specified price points "LongEntry" and "ShortEntry" when the current ask or bid equals my signal price set as "Benchmark1."
After compiling and applying the strategy to my chart, the orders "LongEntry" and "ShortEntry" are not placed when the Market ask or bid equals "Benchmark1".
How do I get the robot to automatically place orders for me, say 1 point away in both directions from signal price point ("Benchmark1")= to a user input double value?

Comment