traggering sell order at bar high is just too perfect  [SOLVED]

Questions about MultiCharts and user contributed studies.
HHHenry
Posts: 7
Joined: 09 May 2013
Has thanked: 2 times

traggering sell order at bar high is just too perfect

Postby HHHenry » 18 Nov 2013

Dear supports,

Please advise on the appropriate order type i should use:

time frame:5mins (formed by tick data),
IOG on,
Calculated "short entry" trigger in indicator: 22924(price I wish to trigger)
Calculated "short entry" trigger in signal: 22960(strategy short at bar high)

signal code for this entry:

Code: Select all

if high>=Floor(swingstrategy1) then sellshort ("short entry") next bar at Floor(swingstrategy1) limit;
I wish to trigger right after the price hits the calculated figure(swingstrategy1), I used limit order here as I wish to execute the sell order better(higher) than the calculated entry price (22924 in this case).

when I use tick data with code "shortsell next bar at X limit", should the short entry price be 22924+1tick??

Greatly appreciate your help!

Henry
Attachments
Trigger too perfect.jpg
(71.74 KiB) Downloaded 333 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: traggering sell order at bar high is just too perfect  [SOLVED]

Postby Henry MultiСharts » 19 Nov 2013

Hello Henry,

The question is not in what order to use but how backtesting works.
Please refer to the following article to learn how the signals are calculated and orders are filled with different options.


Return to “MultiCharts”