Set chart as 1 min candle stick
Logic starts when market is in sell mode
Analyse market to sell mode by EMA 20 - 50 down
for the same example chart.jpg is enclosed for the reference with the variables marked on it
-Logic starts only when market hit bottom of the day
- record the highest price above EMA20-EMA50 - store it in variable - r1 (7984)
- price comes down record lowest price store it in variable - r2 (7975)
if r2 >= EMA 20 & EMA 50 then - EMA20 IS 7974.18 EMA50 7973.48
continue
else
exit from the logic
- program exit mode - if price goes below r2 exit from logic
- continue
- price goes above r1 record highest price in variable - r3 (8003.43)
- price comes down record the lowest price - r4 (7985.35)
if r4 < r2 then
exit from the logic
else
- continue
- after this 1st white candle comes record highest point - r5 (7988.7)
- buy above r5 trigger price (r5+0.5) trade price (r5+0.5+1)
- set stop loss as r4
- set exit price as (r5+0.5+1+12)
Logic starts when market is in sell mode
Analyse market to sell mode by EMA 20 - 50 down
for the same example chart.jpg is enclosed for the reference with the variables marked on it
-Logic starts only when market hit bottom of the day
- record the highest price above EMA20-EMA50 - store it in variable - r1 (7984)
- price comes down record lowest price store it in variable - r2 (7975)
if r2 >= EMA 20 & EMA 50 then - EMA20 IS 7974.18 EMA50 7973.48
continue
else
exit from the logic
- program exit mode - if price goes below r2 exit from logic
- continue
- price goes above r1 record highest price in variable - r3 (8003.43)
- price comes down record the lowest price - r4 (7985.35)
if r4 < r2 then
exit from the logic
else
- continue
- after this 1st white candle comes record highest point - r5 (7988.7)
- buy above r5 trigger price (r5+0.5) trade price (r5+0.5+1)
- set stop loss as r4
- set exit price as (r5+0.5+1+12)
Attachments
-
66.7 KB Views: 204
Last edited: