AHG - Profitable Strategy for Struggling Traders

Status
Not open for further replies.
B,

Absolutely but to avoid noise and false alarms I am only paying attention to the monstrous ones.

Since I can't examine previous days I need all the help I can testing this thing.

Multiple instruments, multiple time frames.

TS, Multicharts and Ninja users should be good to go.

Anek
 
Michelle Ryan

Now, this is what I would call the true and holy grail.

This girl is so freaking hot it's killing me. Feel like a 13 year old with a crush on a fantasy girl.

Ouch! Hot !

Anek
 

Attachments

Anek,
WHen I take the brackets off the last two lines, I get an error saying Plot2 has already been defined...which it has by "Plot2(0, "Zero");"Any idea what I'm doing wrong?

Plot1(TMF, "TMF");
Plot2(0, "Zero");

if (TMF > TMF[1]) then
begin
if (TMF >=0) then
SetPlotColor[colorbar](1, upcolorPlus)
else
SetPlotColor[colorbar](1, upcolorMinus);
end
else if (TMF < TMF[1]) then
begin
if (TMF >=0) then
SetPlotColor[colorbar](1, dncolorPlus)
else
SetPlotColor[colorbar](1, dncolorMinus);
end;

Plot2(LinearRegValue(Plot1,Length1,0));
Plot3(LinearRegValue(Plot1,Length2,0));
 
Use the following code:

Code:
Inputs: Length1(500),Length2(100); 
Vars:	IntrabarPersist TickFlag(0), 
		IntrabarPersist OldPrice(0), 
		IntrabarPersist TMF(0), 
		IntrabarPersist NewTickVol(0), 
		IntrabarPersist MyBarVolume(0); 
 
if BarNumber >= 1 then 
begin 
	NewTickVol = Ticks - MyBarVolume; 
	MyBarVolume = MyBarVolume + NewTickVol; 
	if (C>=CurrentAsk) then begin               
		TMF=TMF + (C * NewTickVol); 
		TickFlag = 1; 
	end; 
	if (C<=CurrentBid) then begin 
		TMF=TMF - (C * NewTickVol); 
		TickFlag = 2; 
	end; 
	if (C<CurrentAsk and C>CurrentBid) and C>OldPrice then TMF=TMF + (C*NewTickVol); 
	if (C<CurrentAsk and C>CurrentBid) and C<OldPrice then TMF=TMF - (C*NewTickVol); 
	if (C<CurrentAsk and C>CurrentBid) and C=OldPrice and TickFlag = 1 then TMF=TMF + (C*NewTickVol); 
	if (C<CurrentAsk and C>CurrentBid) and C=OldPrice and TickFlag = 2 then TMF=TMF - (C*NewTickVol); 
	OldPrice = C; 
	if BarStatus(1) = 2 then MyBarVolume = 0; 
end; 
Plot1(TMF, "TMF"); 
{Plot2(LinearRegValue(Plot1,Length1,0)); 
Plot3(LinearRegValue(Plot1,Length2,0));}

Notice that I commented the last two plots.

Anek
 
Quote from Bbox_trader:

Thanks.
CCurrentBid not recognized when verifying. Should it be CurrentBid?

Box,

Sorry about that, ET is eating part of the code again.

If you need the ELD I posted it during the week, you should be good to go. Interpreted code is available for TS(MC) and Ninja.

There is also a text file attached with the proper code.

Anek
 
Status
Not open for further replies.
Back
Top