logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
guara_riua  
#1 Posted : Tuesday, September 20, 2005 8:04:30 PM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

Additional External Functions - Observations/Questions: 1) Seems that ArraySave/ArraLoad function provide a way to define global variables/indicator's values and to address them when necessary: - ExtFml("PowerPivots.ArraySave",Location(0-4),GlobalVar(0-4),"69"); - ExtFml("PowerPivots.ArrayLoad",Location(0-4),GlobalVar(0-4),"69"); It's possible there are more than 4 locations to define global variables and to extract them as input for other indicators, but this is all the info I was able to identify. 2) Not clear what PivotTrigger function is performing. Looks like it takes only 2 values: +1/-1 ExtFml("PowerPivots.PivotTrigger") 3) Seems that the SysEval has the LE/SE/LX/SX/Buy/Sell signals coded as follows: LE:=100100; SE:=-100100; LX:=100300; SX:=-100300; Buy:=100200; Sell:=-100200; 4) Indicator Retracement Looks like the PlotIx it's an array of the targeted indicator values. ExtFml( "PowerPivots.RetInd", PlotIx, PivotArray, TrendArray, PivotSTRENGTH, Retrace%) Usage Question: what format should be used to initialize the argument arrays: TDataCreate/Localize or ArraySave/Load ? Anybody who had the chance to use these function is welcomed to comment and provide examples of their use. Guara Riua
guara_riua  
#2 Posted : Friday, September 23, 2005 12:55:59 PM(UTC)
guara_riua

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/24/2005(UTC)
Posts: 77
Location: Canada

Found an example for "4)" (courtesy of Henry1224): This was written By Sandon Racowsky i1:=Input("Pivot (1=Minor 2=Interm 3=Major 4=Primary)", 1, 4, 2); i2:=Input("Trend Direction",1,4,1); fib1:=Input("Retrace % 1", -300, 300, .25); fib2:=Input("Retrace % 2", -300, 300, .382); fib3:=Input("Retrace % 3", -300, 300, .5); fib4:=Input("Retrace % 4", -300, 300, .618); aPivots:= ExtFml("PowerPivots.Pivots"); aTrend:= ExtFml("PowerPivots.TrendDirection",i1,i2); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib1); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib2); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib3); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib4); ExtFml("PowerPivots.RetInd",1,aPivots,aTrend,i1,fib4); ExtFml("PowerPivots.RetInd",2,aPivots,aTrend,i1,fib4);
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.