I have been reading a book, High Probability Trading Strategies by Robert C Miner. He mentions a trailing 1 bar high entry. Up to this point I have not been using anything like this, and it has opened my eyes. When using this I have noticed higher probability of wins and high overall profit to confirm a trend before entry.

My code... I use a similar logic for short but setting the other direction. I simply use the set(TICKS). I don't implement a ticks() function.

Code
BarPeriod = 60;
set(TICKS);
TickTime = 3000;
Fill = 3; EntryTime = 3;
...
var buyEntry = priceHigh(1)+PIP
enterLong(0,buyEntry)



Result...
[Fri 20-06-12 14:00] 5007 0 +5.49 /\ (107.37)
[Fri 20-06-12 15:00] 5018 0 +16.24 /\ (107.34)
(AUD/USD:ONS:S) Short 16667@0.679970 Entry stop
[EUR/CHF:ONS:S] Skipped (Amount = 0)
(EUR/USD:ONS:L) Long 51679@1.14245 Entry stop
(GBP/USD:ONS:S) Short 12080@1.25357 Entry stop
(USD/CAD:ONS:L) Long 11848@1.35243 Entry stop
(USD/CAD:ONS:L) Entry stop 1.35243 hit by 1.36139 at 15:00:02
[USD/CAD:ONS:L00017] Long 11848@1.36140 at 15:00:02
(USD/JPY:ONS:S) Short 28234@106.58 Entry stop
(GBP/USD:ONS:S) Entry stop 1.25357 hit by 1.25344 at 15:02:41
[GBP/USD:ONS:S00019] Short 12080@1.25344 at 15:02:41

[Fri 20-06-12 16:00] 4998 0 -3.53 //\\''' (107.38)
[Fri 20-06-12 17:00] 5033 0 +31.67 //\\''' (107.51)
[Fri 20-06-12 18:00] 5095 0 +93.19 ///\''' (107.46)

Last edited by jbhunter; 06/13/20 05:02.