Reopen: Pride's Intraday Strategy [Profit Everyday]

#21
Hi Shivangi,
Error Rectified! Tested on Amibroker 5.50(pride trading system)

still there is error ...plot() and plotOHLC()...calling more than 500 times...ami 5.50

thnx for sharing your afl's.

Kedarnath
 
Last edited:

a1b1trader

Well-Known Member
#22
Hi Shivangi,
Error Rectified! Tested on Amibroker 5.50(pride trading system)

still there is error ...plot() and plotOHLC()...calling more than 500 times...ami 5.50

thnx for sharing your afl's.

Kedarnath
Hi
It is working fine on 5.50 Ami
 
#25
Hi Shivangi,
Error Rectified! Tested on Amibroker 5.50(pride trading system)

still there is error ...plot() and plotOHLC()...calling more than 500 times...ami 5.50

thnx for sharing your afl's.

Kedarnath
I think u must increase size of ur backfill & try different timeframes like 2min,3min,5min,15mins,hourly
its working fine for me too
 
#26
Hi I am using 5.6.3 amibroker and when i tries to run the code i code following Warning
"You are calling plot()/plotOHLC() function over 500 times , it is highly inefficient , Reduce number of call"

for (p = 0; p <= relTodayRange+1; p=p+multiplier)
{
if(P>0){
line = LineArray(baseX, baseY+(p)*Den, baseX+x[p], baseY+(p)*Den);

}

Plot(line,"",IIf(p>(pocj+shiftup),ParamColor("Color_Above_VA", colorDarkRed),IIf(p<=(pocj+shiftup)AND p>=(pocj-shiftdn),ParamColor("Color_VA", colorDarkBlue),ParamColor("Color_Below_VA", colorDarkRed))) , EnMP2);


}
 
#27
very much impressed with the pride's own strategy.
but as ambarish told is it so.

ambarish ji, did pride told you like that , how come it is not working in current market.
do you have contacts with pride and did he given any suggestions words in reg. trading.

it looks fine. from many days I wanted to contact him and discuss the things but unable to do it. if pride read this please reply.

if it is not so useful in index trading , what can be the new strategy similar to this one , the followers going along with.
 

boarders

Well-Known Member
#29
the plot statement should never be put within a loop, if done so then in some systems it may work, but the performance will deteriorate. so remove it from within the loop and put outside
 
#30
Dear Senior Members
Is it possible to have 30 Min. stochastic ribbon on 3 Min or 1 Min. window.
_SECTION_BEGIN("Stochastic_30_MINS");
periods = Param( "Periods", 8, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 4, 1, 200, 1 );

TimeFrameSet(in1Minute * 30);
k30 = StochK( periods , Ksmooth);
d30 = StochD( periods , Ksmooth, DSmooth );
TimeFrameRestore();

K = TimeFrameExpand(k30, in1Minute * 30);
D = TimeFrameExpand(d30, in1Minute * 30);

Plot(D, "D", colorRed, styleThick );
Plot(K, "K", colorBlue, styleThick );

Hi = IIf(k > d, k, d);
Lo = IIf(k < d, k, d);

COLOR = IIf(Ref(d,1) > Ref(k,1), colorRed, colorBlue);
//COLOR = IIf(K > D AND (K > 80 OR D > 80) OR D > K AND (K < 20 OR D <20), colorLightGrey, COLOR);

PlotOHLC(Lo,Hi,Lo,Hi,"",COLOR, styleNoLabel | styleCloud);

_SECTION_END();
If possible, Kindly help me to put the 30 Min. stochastic ribbon below the stochastic of 3 Min. or 1 Min. window.
Thanks
 

Similar threads