ATTN: TRO

eSignal indicators

Moderator: moderators

User avatar
Tyler19
rank: <50 posts
rank: <50 posts
Posts: 39
Joined: Mon Feb 05, 2007 5:24 pm
Reputation: 0
Location: Burke, VA
Gender: Male
Contact:

ATTN: TRO

Postby Tyler19 » Sat Feb 17, 2007 10:12 am

I am looking at one of your indicators named :

dots~lines.efs

What is this indicator plotting?

Thanks,
Tp
Attachments
Dots~Line.png
Dots~Line.png (122.02 KiB) Viewed 2777 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15562
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3036
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Sun Feb 18, 2007 5:52 am

My indicators usually start with TRO_ so please post the code so I can look and see what it's doing.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
Tyler19
rank: <50 posts
rank: <50 posts
Posts: 39
Joined: Mon Feb 05, 2007 5:24 pm
Reputation: 0
Location: Burke, VA
Gender: Male
Contact:

Postby Tyler19 » Sun Feb 18, 2007 10:35 am

//{{EFSWizard_Declarations

var vEMA4 = new MAStudy(4, 0, "Close", MAStudy.EXPONENTIAL);
var vEMA20 = new MAStudy(20, 0, "Close", MAStudy.EXPONENTIAL);
var vPriceOsc3_10 = new OscStudy(3, 10, "Close", false);
var vEMA9 = new MAStudy(9, 0, "Close", MAStudy.EXPONENTIAL);
var vEMA36 = new MAStudy(36, 0, "Close", MAStudy.EXPONENTIAL);
var vLastAlert = -1;



function preMain() {
setPriceStudy(true);
setStudyTitle("dots~line");
}


function main() {
if (vEMA4.getValue(MAStudy.MA) >= vEMA20.getValue(MAStudy.MA) &&
vPriceOsc3_10.getValue(OscStudy.OSC) < 0)
onAction1()
else if (
vEMA4.getValue(MAStudy.MA) <= vEMA20.getValue(MAStudy.MA) &&
vPriceOsc3_10.getValue(OscStudy.OSC) > 0)
onAction2();


if (vEMA4.getValue(MAStudy.MA) >= vEMA20.getValue(MAStudy.MA)) onAction3()
else if (vEMA4.getValue(MAStudy.MA) <= vEMA20.getValue(MAStudy.MA)) onAction4();


if (vEMA9.getValue(MAStudy.MA) >= vEMA36.getValue(MAStudy.MA)) onAction5()
else if (vEMA9.getValue(MAStudy.MA) <= vEMA36.getValue(MAStudy.MA)) onAction6();
return null;
}







function postMain() {
}
function onAction1(){
drawShapeRelative(0, 30, Shape.CIRCLE, "", Color.RGB(0,255,255), Shape.RELATIVETOBOTTOM);
vLastAlert = 1;}

function onAction2() {
drawShapeRelative(0, 30, Shape.CIRCLE, "", Color.RGB(0,255,255), Shape.RELATIVETOBOTTOM);
vLastAlert = 2;}


function onAction3() {
drawShapeRelative(0, 20, Shape.CIRCLE, "", Color.RGB(0,255,0), Shape.RELATIVETOBOTTOM);
vLastAlert = 1;}

function onAction4() {
drawShapeRelative(0, 20, Shape.CIRCLE, "", Color.RGB(255,0,0), Shape.RELATIVETOBOTTOM);
vLastAlert = 2;}

function onAction5(){
drawShapeRelative(0, 10, Shape.SQUARE, "", Color.RGB(0,255,0), Shape.RELATIVETOBOTTOM);
vLastAlert = 1;}
function onAction6() {
drawShapeRelative(0, 10, Shape.SQUARE, "", Color.RGB(255,0,0), Shape.RELATIVETOBOTTOM);
vLastAlert = 2;}

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15562
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3036
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Mon Feb 19, 2007 6:58 am

That's not one of mine... that's for sure!

Has something to do with EMA(4) CROSSING EMA(20) and the PRICE OSCILLATOR.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!



Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “eSignal indicators”