Syracuse, NY
Experience: Intermediate
Platform: Ninja Trader
Broker: Mirus Futures/Zen-Fire
Trading: NQ
Posts: 218 since Jan 2011
Thanks Given: 31
Thanks Received: 189
|
according to your question...it looks like you want to buy over a certain price and sell at a stop.....you are playing the long side only....your short was referenced as a stop loss....my question is do you want to sell at the lower price even though the original price was never hit...and then trade the downside......in the first situation....(long only) a simple way would be to just check the price in (Conditions and Actions) if true...bottom frame (do the following) enter the trade(enter a long position)..then ..set a Stop under Stops and Targets....you can use ticks or percentages when you set your stop...... so your inputs would be Price and Stop and Profit (if you want a target price)...done!!!............ if you want program/strategy control...set the (Price) as an input (an inputed variable) so it can be used on any instrument then set a second input as (Cond1) set default to 0. and set a third input as (Offset)...and your first question in (Conditions and Actions) is the (Cond1) equal to 0...(you are not in a trade) then next question is the closing price greater than the Price you set on the inputed variable...if yes in the below frame (do the following)...you would go i(Order Management) and enter a long position and then set a switch to tell you that you are in a trade so you dont do it again(Cond1 = 1)....that would be in the Set1 tab at the bottom.....Then Set2 tab would be to check Cond1 to see if its equal to 1(you are in a trade) and the next question would be to see if the trade is less than your down(low) Price including your (Offset)...if so ...Order management again in the frame below and Exit long position and set Cond1 back to 0(out of the trade)....this will then repeat.....this would be all under control of the strategy.......I should have asked how familiar are you with the Strategy Analyzer....its actually a very easy strategy....the setting the switch is the strange way of doing it but it then gives you more control...
|