Hi Michmauro
After making my suggested changes to the “Multi-Frame D MACD” formula it will plot exactly the same line values as (Mov(C,12,E)-Mov(C,26,E))-Mov(Mov(C,12,E)-Mov(C,26,E)),9,E) on weekly charts. There are a number of ways you can check that this is so. Take the time to jot down values for the last few bars and then switch the chart to daily periodicity and read off the last few weekly values again. They will be the same.
Be aware that any indicator pulled down onto a chart from the drop-down menu will display as a line rather than a histogram, and you must manually change the style if you want it to plot as a histogram.
The MSTT DLL has a custom EMA function that allows the EMA value to be held constant for several bars (until the end of the week or month etc) and then be updated to the next weekly or monthly value. The exponential MOV function in the Forum DLL (as used by the above formula) achieves the “hold constant” action by using a very large Periods parameter. X:=ExtFml("Forum.MOV",K,If(J,12,10000000),E); This method of plotting new weekly EMA values on a daily chart is good enough for most purposes but not perfect. Increasing the number of zeros in the If() function increases the accuracy.
Roy