indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Tradestation

Reply
 
Bookmark and Share LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2010, 02:14 PM
devanand25 devanand25 is offline
Regulars
 
Join Date: Mar 2010
Posts: 110
Thanks: 30
Thanked 116 Times in 47 Posts
devanand25 will become famous soon enoughdevanand25 will become famous soon enough
Default EW OSCILLATOR IN TS EASY LANGUAGE CODE

hI FRIENDS
A gift for you tradestation users.
Here is something you may test and post your observations,please.
we guys are attemting to convert this into afl for use in Amibroker.
Any hints,welcome on barnumber and vars

It will be our pleasure to see how to tradestation charts come out to be with this formula.
cheers

--------------------------------------
EASY Language CODE:

Inputs: Price1(Average((H+L)/2,5) - Average((H+L)/2,35)),K(1),K2
(0.0555),Len(5);
Vars: UpperBand(0),LowerBand(0),AvgP(0);

If Price1 >0 then begin
upperband=price1;
If barnumber>=2 then
UpperBand= (upperband[1] + k2*(K*Price1 - upperband[1]));
end;


If Price1 < 0 then begin
LowerBand = Price1;
If barnumber>=2 then
LowerBand=(lowerband[1] + K2*(K*Price1 - lowerband[1]));
end;

AvgP = XAverage(Price1,Len);

Plot1(Price1,"Osc535");
Plot2(AvgP,"AvgP");
Plot3(UpperBand,"upper");
Plot4(LowerBand,"lower");

----------------------
regards
dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-01-2014, 12:30 PM
nTupLe2 nTupLe2 is offline
Regulars
 
Join Date: Nov 2013
Location: kolkata+WB/Country
Posts: 216
Thanks: 172
Thanked 143 Times in 96 Posts
nTupLe2 will become famous soon enoughnTupLe2 will become famous soon enoughnTupLe2 will become famous soon enough
Default



how this one works can u explain??
As i am newbie.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to nTupLe2 For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Tradestation


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 06:56 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2