Simple Coding Help - No Promise.

bunti_k23

Well-Known Member
Can we dfine these settings while backtesting in amibroker ,
I want place the stoploss low or high of the candle and target shd be 2*sl.
 

toughard

Well-Known Member
Dear amit and other friends...

How to plot 20 ema on bars that are from 9.15 to 3.30 only on everyday basis..

like if we plot a chart for 2 days that should show 20 EMAs of the first day on first day chart and next day chart should plot 20 ema considering only the given day candles there should be no continuation...

kindly help!

Toughard
 

toughard

Well-Known Member
dear sr114...

above chart 300 EMA is plotted considering how many bars? while in little confused as 300 bars for the day is not showing
 

amitrandive

Well-Known Member
Dear amit and other friends...

How to plot 20 ema on bars that are from 9.15 to 3.30 only on everyday basis..

like if we plot a chart for 2 days that should show 20 EMAs of the first day on first day chart and next day chart should plot 20 ema considering only the given day candles there should be no continuation...

kindly help!

Toughard
Not sure how to do this.
Ideally I would not use such a discontinued EMA, the following reason for it.

On one minute chart , the EMA line will start after the 21st bar , ie.around 9:35 am.
On a 5 minute chart , the EMA line will start after the 21st bar , ie.around 11:00 am.

An expert help is needed for this.
 

toughard

Well-Known Member
Not sure how to do this.
Ideally I would not use such a discontinued EMA, the following reason for it.

On one minute chart , the EMA line will start after the 21st bar , ie.around 9:35 am.
On a 5 minute chart , the EMA line will start after the 21st bar , ie.around 11:00 am.

An expert help is needed for this.
Dear amit,

thanks for considering the request.... you pointed it right as i am looking to plot for 20 EMA which

On one minute chart , the EMA line will start after the 21st bar , ie.around 9:35 am.
On a 5 minute chart , the EMA line will start after the 21st bar , ie.around 11:00 am.


Thanks
 

Similar threads