[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Free Canadian historical data? Yahoo is limited...



PureBytes Links

Trading Reference Links


MR,
 
There are two ways I can think of to do this.  First one is to place an IIF statment in the style portion of your plot so it'll look something like this.
 
IIF(DateNum() == Now(3), styleline + stylenorescale, stylenoplot);
Or just add stylenorescale to all your plots so yesterday's pivots will not interfere with todays price chart.
 
Hope this helps,
Gary
mroman59 <mroman59@xxxxxxxxx> wrote:
The followig code is for support and resistance and I use on a daily realtime chart. This takes into account previous days quote data. This is not intraday support and resistance. However, I can not create single horizontal lines that are for only for the previous day. This formula posts a continuous line for each day that I do not want to show up on my chart. I just want to creat a single horizontal line for each area and eliminate previous days s & P. Basically I want to create a better looking chart.Thank YouMR//Support AND Resistance Lines FormulaPP = Ref(((H + L + C)/3),-1);Range = Ref((H-L),-1);R1 = PP + (PP-Ref(L,-1));R2 = PP + Range;R3 = R1 + Range;R4 = R2 + Range;S1 = PP - (Ref(H,-1)-PP);S2 = PP - Range;S3 = S1 - Range;S4 = S2 - Range;Plot(C, "Close", 5,
 styleCandle);Plot(PP,"Pivot",1,styleLine);Plot(S1,"Pivot",2,styleLine);Plot(R1,"Pivot",3,styleLine);Plot(S2,"Pivot",2,styleLine);Plot(R2,"Pivot",3,styleLine);Plot(S3,"Pivot",2,styleLine);Plot(R3,"Pivot",3,styleLine);Plot(S4,"Pivot",2,styleLine);Plot(R4,"Pivot",3,styleLine);Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.