Hello, I am looking for a way to customise an afl code in to layer.So that when the layer is on,indicator(eg pivot) appears on price screen and when not...
Hi Is there a way to format a number to a set number of decimal places. E.g. In the below example round the number to 2 decimal places. PlotText( "Buy @ "+...
Sell=Cross(Ref(LLV(L,LBak),-1),C); I use the above code as a trailing stop. The problem is that it can allow the trailing stop to fall without an exit being...
In simple english you want the indicator to respond in a particular fashion/manner subject to the periodicity of the chart or do you want to be able toggle...
Hi Peter, Using the example of the PlotText function in the AB Help files, I have wrapped the integer function around the Buy Price. See the example below: ...
Thanks Ara. Got it. I am wondering if there is a program that can do it for me automatically. Do you know? Thanks again. Don ... From: Ara Kaloustian...
The following worked for me to modify the DataBase for some ... $FORMAT NAME, MARKET, INDUSTRY $OVERWRITE 1 PWC, 2, 250 PWO, 2, 250 PWB, 2, 250 PWV, 2, 250 ...
Right. You either change the default number of decimal places in Tools->Preferences OR you use the Title = statement and then your printf formatting will work....
This is like a Chandelier exit with different parameters (instead of ATR). I had to use loops to implement this. You need to keep track of the previous highest...
Is it possible to use AmiQuote to collect data from Lycos/Quote.com to Ascii, txt or MetaStock format? I would like to learn how to program this alternative. ...
Sure! Put quote.com in the search tab of the help file and click list topics. But then you tried that, right? d _____ From: amibroker@yahoogroups.com...
Yes, this is exactly the problem I am having. Two different databases, but there seems to be some conflict. For a while, I'll have rebuild a pane with...
Alex, CMO is easier to calculate than RSI. Try ... #include <cmo.afl> Len = Param("cLen",8,3); Plot(CMO(C,Len), _DEFAULT_NAME(), ParamColor( "Color",...
Terry. I have the preferences set to 2 decimal places but the below plot gives 4 decimal places. I'm not sure what you mean with your remarks about Title. How...
Peter: If I understand your question, why don't you use numToStr() ? Something like PlotText("Standard Deviation is " + numToStr(StandardDeviationInTheRange,...
Peter, Mark has another idea I did not consider. I'm sure it works as well. I can't explain why you're getting 4 decimals if your default is set to 2. Here's a...
i recently converted a rather large formula from SetForeign() to GetRTData(), but now i can't seem to get my AlertIfs working. Could someone help me out and...
I haven't as yet used loops in any of my AFL coding. Now that you've suggested that this is a direction I'll probably have to go, I at least now have an idea...
I know how to use fopen, fputs, fclose. But is there any trick to programming AFL to append a line to a text file for every Alert that is triggered?...
HI, It' s been a while since I programmed AB as I now have it on automatic but i was wondering if anyone had ideas to help me implement the following: I wish...
sorry I have re written the problem to make it clearer: HI, It' s been a while since I programmed AB as I now have it on automatic but i was wondering if...
I try to find a way to import futures definition into AB. I tried with the following text file but nothing happens $FORMAT SYMBOL,MARGIN $NOQUOTES 1 $SEPARATOR...
Anybody know if you can get a feed from IB for mini Dow futures options? I am reading the latest upgrades notes ... C ODAX MAR 06 5500-DTB-O P ODAX MAR 06...
HI, Gann fan drawn at the early stage, but the fan lines are not extending with addition of data automatically. Is it normal for Amibroker Standard edition...
Yes, I understand that. What I'm not sure of is exactly where to place the code in my AFL or how to trigger it. I currently have something similar to the...
Thanks Ed. I will give it a try. Don. ... From: Ed Hoopes <reefbreak_sd@...> To: amibroker@yahoogroups.com Sent: Monday, May 1, 2006 11:52:27 AM Subject:...