I have a whole bunch of data saved to a txt file, and I want to detrend it. The way I'm thinking is taking the following:
x = (Last Price - First Price) / (# of bars between first and last price);
then for each and every bar I'm going to apply the following formula:
CurrentPrice - x;
Does that sound good. I'm just asking this to see if there are any unseen pit falls
x = (Last Price - First Price) / (# of bars between first and last price);
then for each and every bar I'm going to apply the following formula:
CurrentPrice - x;
Does that sound good. I'm just asking this to see if there are any unseen pit falls