Once again Turtle Soup ..

jamit_05

Well-Known Member
Code:
_SECTION_BEGIN(" Turtle Soup Exploration");

/*

TSL=

L==LLV(L,20) AND Ref(L,-1)!=Ref(LLV(L,19),-1) AND Ref(L,-2)!=Ref(LLV(L,18),-2) AND Ref(L,-3)!=Ref(LLV(L,17),-3) AND C>O AND H-L>=ATR(15) OR
L==LLV(L,20) AND Ref(L,-1)!=Ref(LLV(L,19),-1) AND Ref(L,-2)!=Ref(LLV(L,18),-2) AND Ref(L,-3)!=Ref(LLV(L,17),-3) AND C>O AND Ref(C,-1)-L>=ATR(15);


TSS=
H==HHV(H,20) AND Ref(L,-1)!=Ref(HHV(L,19),-1) AND Ref(L,-2)!=Ref(HHV(L,18),-2) AND Ref(L,-3)!=Ref(HHV(L,17),-3) AND C<O AND H-L>=ATR(15) OR
H==HHV(H,20) AND Ref(L,-1)!=Ref(HHV(L,19),-1) AND Ref(L,-2)!=Ref(HHV(L,18),-2) AND Ref(L,-3)!=Ref(HHV(L,17),-3) AND C<O AND Ref(C,-1)-L>=ATR(15);


*/

TSL=
(L==LLV(L,20) AND Ref(L,-1)!=Ref(LLV(L,19),-1) AND Ref(L,-2)!=Ref(LLV(L,18),-2) AND Ref(L,-3)!=Ref(LLV(L,17),-3) OR
L==LLV(L,20) AND Ref(L,-1)!=Ref(LLV(L,19),-1) AND Ref(L,-2)!=Ref(LLV(L,18),-2) AND Ref(L,-3)!=Ref(LLV(L,17),-3)) AND EMA(V,15) > 100000 AND V > 150000 AND C>50;



TSS=
(H==HHV(H,20) AND Ref(L,-1)!=Ref(HHV(L,19),-1) AND Ref(L,-2)!=Ref(HHV(L,18),-2) AND Ref(L,-3)!=Ref(HHV(L,17),-3) OR
H==HHV(H,20) AND Ref(L,-1)!=Ref(HHV(L,19),-1) AND Ref(L,-2)!=Ref(HHV(L,18),-2) AND Ref(L,-3)!=Ref(HHV(L,17),-3)) AND EMA(V,15) > 100000 AND V > 150000 AND C>50;

tslval=ValueWhen(TSL,L,1);
tssval=ValueWhen(TSS,H,1);

_SECTION_END();

Filter = (TSL OR TSS AND EMA(V,15)>50000   );// AND C>50 AND V>50000;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "SYMBOL");
AddColumn(DateTime(), "DATE", formatDateTime,colorBlue);
AddColumn(IIf(TSL,1,Null), " TS Long", 1,colorBlack,IIf(TSL,colorBrightGreen,Null)); // HH
AddColumn(IIf(TSS,1,Null), " TS Short", 1,colorBlack,IIf(TSS,colorOrange,Null));
AddColumn(C, "Last Close", 1.2,colorBlue);
AddColumn(V, "Volume", 1, colorBlack,IIf(V > EMA(V,21), colorBrightGreen, colorOrange)); // for liquidity
AddColumn(IIf(TSL,tslval,Null), "Lo", 1.2 ,colorBlack,IIf(TSL,colorBrightGreen,Null));
AddColumn(IIf(TSS,tssval,Null), "Hi", 1.2,colorBlack,IIf(TSS,colorOrange,Null));

Buy=Sell=0;
 

anup

Well-Known Member
Dear Friends...

TS+1 candidates for Monday:

Longs:
CORPBANK
HINDPETRO
KARURVYSYA
PTC
TATAMOTORS
TATAMTRDVR
ULTRACEMCO

Shorts:
ESSAROIL
GRAPHITE
GREAVESCOT
PIDILITIND
PIPAVAVDOC

Now, one last thing remains to be done.... catch them RT.

Amit : can you post the level to entry long/short
 

rkkarnani

Well-Known Member
According to TS+1,One can go long on SBI if it crosses 2423(Spot).Today's closing was 2412.35.Seniors kindly confirm.
SBI must have broken the 20 day low today for it to qualify for a Turtle Soup+1 set up to emerge.

Was the previous 20 day low broken today made 3 or more sessions earlier ?
 

TraderRavi

low risk profile
SBI must have broken the 20 day low today for it to qualify for a Turtle Soup+1 set up to emerge.

Was the previous 20 day low broken today made 3 or more sessions earlier ?
yesterday and today both consecutive 20 day lows ..so invalid..
 

rkkarnani

Well-Known Member
Amit : can you post the level to entry long/short
At a glance (checked a few only) it looks that these stocks made a 20 days high or Low TODAY !
Tomorrow any of these stock must move lower than previous 20 period low and NOT below todays low and then move up above previous Low to qualify for a Long trade and a Stock must move higher than Previous high but not above todays high and then move down below previous High to trigger a Short !
So todays High low levels would be the key ! Jamit_05 please confirm !
 
Last edited:

TraderRavi

low risk profile
At a glance (checked a few only) it looks that these stocks made a 20 days high or Low TODAY !
Tomorrow any of these stock must move lower than todays low and then move up above todays low to qualify for a Long trade and a Stock must move higher than todays high and then move down below todays low to trigger a Short !
So todays High low levels would be the key ! Jamit_05 please confirm !
but if these stocks have made today 20 day high low then tomorrow again they go low(high) below of today, its 2 day consecutive high/low, is not it ?
 

jamit_05

Well-Known Member
At a glance (checked a few only) it looks that these stocks made a 20 days high or Low TODAY !
Tomorrow any of these stock must move lower than todays low and then move up above todays low to qualify for a Long trade and a Stock must move higher than todays high and then move down below todays low to trigger a Short !
So todays High low levels would be the key ! Jamit_05 please confirm !
Yes sir. A few stocks were incorrect due to a small bug in the code.... removed it. Hope the code works fine now... pls refer to the new csv file.
 
Last edited:

Similar threads