Hello MSA5678,
Also, I assume that Buyminus is the way to calculate stop loss. But I could not understand Buyplus. Similarly why Sellminus?
Also, I assume that Buyminus is the way to calculate stop loss. But I could not understand Buyplus. Similarly why Sellminus?
are variables defined to Plot BookProfit and SL
Lines for Long and Short Positions respectively,
I have used 20 pts Book Profit and 20 pts SL in
the AFL. This can be edited as per individual need.
These lines give a visual help.
Also it would be great, if we can define a box (let's say upper left corner) and display all info as below.
Trade type
Entry price
Stop loss
Profit / Loss
Trade type
Entry price
Stop loss
Profit / Loss
Regarding the box, I will work on
it.
Lastly, I wanted to know how I can determine whether I'm in trade or not.
I want to achieve following...
Currently my entry is at the cross over of FastAvg & SlowAvg. However I wish to enter when price closes above SlowAvg or avg crossover whichever happens first.
However price closes above SlowAvg should check...
1. System is not in trade (if in trade than do not enter in trade)
2. Last trade must be on other side. i.e. for if my last trade is buy trade than system should look for price to close below slowAvg & vice versa.
Thank you for all your help.
I want to achieve following...
Currently my entry is at the cross over of FastAvg & SlowAvg. However I wish to enter when price closes above SlowAvg or avg crossover whichever happens first.
However price closes above SlowAvg should check...
1. System is not in trade (if in trade than do not enter in trade)
2. Last trade must be on other side. i.e. for if my last trade is buy trade than system should look for price to close below slowAvg & vice versa.
Thank you for all your help.
AFL Programming. I am sorry I will
not be able to do it . Later stages
when I learn some more I will
definitely work on it.
Regards