Quote:
|
Originally Posted by Maji
First you will have to explain your startegy before I do anything to your code.
|
it simply buy the pair if the ask price is (greater than bollingerbands 20 dev 2) by 5 pips
and stoploss when the bid price is (less than sma 20 )by 5 pips
and then take profit when the bid price is (less than bollingerbands 20 dev 4)by 5 pips
and viceversa for sell
it simply sell the pair if the bid price is (less than bollingerbands 20 dev 2)by 5 pips
and stoploss when the ask price is (greater than sma 20 )by 5 pips
and then take profit when the ask price is (greater than bollingerbands 20 dev 4)by 5 pips
note : all bongerbands and sma is based on HL/2 price