mysweetjane

Default image
Trading EURUSD first calculating maximun and minimum price for entering a trade. calculating lots to trade. putting variable timepassed from the last open trade to 0.. im using a waittmer here it gets reduced by 1. if waittimer is below 0 checking dayofweek and hours. if hours below 6 trade is allowed between 6 and 9 no trade between 9 and 12 trade is allowed if its friday no trade allowed from 12. between 13 and 15 no trade if time is over 14 and below or at 17 trade is allowed from 18 to 20 no trade if hours above 19 trade is allowed now i check if price did come close to moving average after the last trade. for that i first check variable abovema if over 2 i calculate how much it is over ma and when its below 2 i set abovema to 0. when abovema is at 0 i do the same for belowma. if abovema and belowma are below 2 i calculate the ema 30 minutes 30 periods if last tick is over ema i go to the buyside if below i go to the sellside now i calculate the ema daily for 5 periods then i calculate how much last tic is above or below ema 30 minutes 30 periods. on the sellside this variable is called drunter on the buyside its called drueber now i use the variable signal that is always 20 because i want to trade when current price i more than 20 pips away from the ema. if im on the sellside i set value of variable belowma the value of drunter if im on the buyside i set value of variable abovema the value of drueber. now i check if market did just jump a lot for this i use the before calculated nobuyabove and noselbelow if all is fine at this point i open a trade with the before calculated amount (lotstotrade) take profit is 7 and sl is 200 if the trade is short variable shorttrade becomes value 1 and variable longtrade becomes 0. if the trade is long variable shorttrade becomes value 0 and variable longtrade becomes 1 now the trade is open. im putting the waittimer for the next trade to 500. now i use te aiable timepassed that calculates me the ticks after trade was opened when the value of timepassed is over 2000 and the trade is still open i check if its a long or shorttrade. then i check if current bid is below my enteringprice for a shorttrade or ask is above enteringprice for a longtrade i this condition is true i close the trade. then all starts again i now this strategy is a bit long but i wanted to create one that is not just make a lot of money or die. and i wanted to avoid the crazy ups and down at times where important data comes out
Version: Date: Status: Description:
2 30.11.2015 Not running mysweetjane  Download
1 30.11.2015 Not running mysweetjane
orto leave comments


(few words about added changes)

(example: 1.1, beta, alpha)