hi, see below:
TimeFrameSet(inDaily); sma5 = MA(C,5); sma20 = MA(C,20); TimeFrameRestore(); sma5 = TimeFrameExpand( sma5, inDaily ); sma20 = TimeFrameExpand( sma20, inDaily ); SetChartOptions(0, chartShowDates); Plot(C,"C",colorWhite,64); Plot(sma5,"sma5",colorAqua,styleThick); Plot(sma20,"sma20",colorGold,styleThick) ----- Original Message ----- From: vanroose_mark To: [email protected] Sent: Saturday, November 17, 2007 12:56 PM Subject: [amibroker] how to plot 5 and 20ma Daily on an 60 min chart? any formula's? hello, is it possible to plot an simple moving average from a larger timeframe on the chart with an smaller timeframe. aspecialy for globex futures (ES/NQ/YM) continues contract, i've tried to plot on my 60min chart the 5 and 20 sma Daily , and on my 3 min chart the 5 and 20 sma 60min. i've tried to calculate this and i'ts never correct, i've compared it with an trader using Tradestation ... any formula's available? thnx ,Mark
