1st post
Im not bad in Excel but having seen some of the moderators answers Im beginning to re-think how good (or not) I am - lol. Having said that I have a real challenge. I trade the markets and I am testing a trading system that I have developed that requires certain conditions be met before generating a trigger to take a trade. I have built an application that takes actual data (free from Yahoo finance) and populates my application in Excel with opening price,high, low and the close of the day. Usually I grab about 3 years of historical data. I then use the RANDbetween function to "shuffle" the order of the data which then allows me to test my trading system under various conditions. When an alert is triggered it is because it has met all my conditions for taking a trade and I populate the cell with the entry price at the time the conditions are all met. What I am having trouble with is now GOING FORWARD (from top to bottom in a column) I want to compare THAT value (the entry price value) against the subsequent values. So for example, my system generates a buy signal and populates the cell with a price of 100. That is my entry - as a trader we now need to know if this entry signal goes on to increase in value (a winning trade) or does it reverse and stop you out at a pre-determined stop level (losing trade). In trading this called back testing but I am testing but under random outcomes which only strengthens your confidence in your trading rules. Any professional trader, once he or she has entered a trade, has a profit AND a stop objective in place. How do I compare the triggered cell value (lets use the 100 stock value) against the future values ?? If my profit objective were say 4 points and my stop was -2 points then I know using simple math that 104 would be a winning trade and 98 would be a loser. The final challenge is as I originally mentioned .. this is all within a RANDbetween environment which is always producing signals to take a trades randomly.
Any suggestions and guidance would be greatly appreciated
Thanks so much
atlus
Im not bad in Excel but having seen some of the moderators answers Im beginning to re-think how good (or not) I am - lol. Having said that I have a real challenge. I trade the markets and I am testing a trading system that I have developed that requires certain conditions be met before generating a trigger to take a trade. I have built an application that takes actual data (free from Yahoo finance) and populates my application in Excel with opening price,high, low and the close of the day. Usually I grab about 3 years of historical data. I then use the RANDbetween function to "shuffle" the order of the data which then allows me to test my trading system under various conditions. When an alert is triggered it is because it has met all my conditions for taking a trade and I populate the cell with the entry price at the time the conditions are all met. What I am having trouble with is now GOING FORWARD (from top to bottom in a column) I want to compare THAT value (the entry price value) against the subsequent values. So for example, my system generates a buy signal and populates the cell with a price of 100. That is my entry - as a trader we now need to know if this entry signal goes on to increase in value (a winning trade) or does it reverse and stop you out at a pre-determined stop level (losing trade). In trading this called back testing but I am testing but under random outcomes which only strengthens your confidence in your trading rules. Any professional trader, once he or she has entered a trade, has a profit AND a stop objective in place. How do I compare the triggered cell value (lets use the 100 stock value) against the future values ?? If my profit objective were say 4 points and my stop was -2 points then I know using simple math that 104 would be a winning trade and 98 would be a loser. The final challenge is as I originally mentioned .. this is all within a RANDbetween environment which is always producing signals to take a trades randomly.
Any suggestions and guidance would be greatly appreciated
Thanks so much
atlus