Buy / Sell Signal

Hii,

I am trying to getting signal from StudyID following code :slight_smile:

SU = Study("su", 2048 ) ;
ST=Study("ST", 2048 );

proSign=1.007;//Param("Near Level %",1.01,1.01,5,0.01);

tmSU=su*prosign;
tmRE=re/prosign;


tmBuy=(Cross(tmSU,C) OR Cross(tmSU,L))  ;   
tmSell=(Cross(C,tmRE) OR Cross(H,tmRE) );  

tmbuy=ExRem(tmbuy,tmsell);
tmsell=ExRem(tmsell,tmbuy);

PlotShapes(shapeUpArrow*tmBuy,colorGreen,0, L,-20 );
PlotShapes(shapeDownArrow*tmSell,colorRed,0, H,-20 );

I am facing problem plotting signal , above code plots signals on one time frame i.e. hourly but not plotting signal on other timeframe where I run my explorer i.e. 75min. Please help .![Capture|690x287]
Screenshots:
Capture2 Capture

Screenshot2

1 Like

Hello

Have a look in this code that i wrote some time ago. I hope does exactly what you are asking for.... retrieves the event/signals that came from lower time frame to appear in higher time frame

Please you must fully understand the difference between time-frames

1 Like

You need to use fib. extention tool to define supply and assign rs and rs to 0 and 100

Rs = Study("rs", 2048 ) ;
RE = Study("re", 2048 ) ;
1 Like