Simple Coding Help - No Promise.

Hi.

Question... is 18MA/9EMA on a 4H chart is the same as 9MA/5EMA on a daily chart?

I only know to code using daily scanner. I need to code a signal of 18MA/9EMA crossover on a 4H timeframe to give me an advance signal before it crosses on a daily timeframe


Thanks
Henry
 
I have a small requirement of Displaying the Watchlist Symbols in Cyclic order
Example < Silver, Gold, Crude, Natural Gas, Nifty, Bank Nifty>
Each Symbols should display on the Amibroker Window for 10-15 Seconds and then go to the next symbol, this cycle continues.
The idea is to have this running on a second monitor while we wait for the opportunity.
Can this be done? Please suggest.
I could not find a suitable code for this requirement, but this would be a good to have feature.
Thanks in advance
 

toocool

Well-Known Member
is there any afl available which shows volume of both strikes call put on same chart , for example if i have chart of 8700 call , it shows 8700 put volume automatically on same chart along with call??
 

john302928

Well-Known Member
Amibroker Elliot wave label afl

Does any one have afl to label EW in amibroker. I have seen it in metastock there are codes for Elliot wave labels for different degree. Can we have the similar afl for amibroker? if any one has please share it.
say for lower degree we name it as i, ii, iii, iv, v and for higher levels, 1,2,3,4,5 and another higher levels it would be (1)(2)(3)(4)(5) with different colors it goes on. If we have the afl then we dont need to manually edit the text every time for different degree. Hope You get the requirement. Can anyone share if you have this afl. Thanks.
 
Happy ji can u please add Buy & Sell, Short and Cover for this new method by Mr.varun. It would help in back testing, Manually it is giving good results already
Thanks in Advance
Code:
_SECTION_BEGIN("OBV Hi Lo");
Ob = OBV();	Hi = HHV(Ob,15);	Lo = LLV(Ob,15);
		HiP= HHV(H,15);		LoP= LLV(L,15);

B1 = Cross(Ob,Ref(Hi,-1));	S1 = Cross(Ref(Lo,-1),Ob);
B2 = Cross(C,Ref(HiP,-1));	S2 = Cross(Ref(LoP,-1),C);
B1 = ExRem(B1,S1);		S1 = ExRem(S1,B1);
B2 = ExRem(B1,S1);		S2 = ExRem(S2,B2);
UP1 = Flip(B1,S1);		DN1 = Flip(S1,B1);
UP2 = Flip(B2,S2);		DN2 = Flip(S2,B2);

B3 = UP1 AND UP2;		S3 = DN1 AND DN2;
B3 = ExRem(B3,S3);		S3 = ExRem(S3,B3);
UP3 = Flip(B3,S3);		DN3 = Flip(S3,B3);

Plot(8,"",IIf(UP3,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleThick,0,200,0,-5,8);
//Plot(4,"",IIf(UP2,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
//Plot(2,"",IIf(UP1,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
_SECTION_END();
 

vijkris

Learner and Follower
Happy ji can u please add Buy & Sell, Short and Cover for this new method by Mr.varun. It would help in back testing, Manually it is giving good results already
Thanks in Advance
Code:
_SECTION_BEGIN("OBV Hi Lo");
Ob = OBV();	Hi = HHV(Ob,15);	Lo = LLV(Ob,15);
		HiP= HHV(H,15);		LoP= LLV(L,15);

B1 = Cross(Ob,Ref(Hi,-1));	S1 = Cross(Ref(Lo,-1),Ob);
B2 = Cross(C,Ref(HiP,-1));	S2 = Cross(Ref(LoP,-1),C);
B1 = ExRem(B1,S1);		S1 = ExRem(S1,B1);
B2 = ExRem(B1,S1);		S2 = ExRem(S2,B2);
UP1 = Flip(B1,S1);		DN1 = Flip(S1,B1);
UP2 = Flip(B2,S2);		DN2 = Flip(S2,B2);

B3 = UP1 AND UP2;		S3 = DN1 AND DN2;
B3 = ExRem(B3,S3);		S3 = ExRem(S3,B3);
UP3 = Flip(B3,S3);		DN3 = Flip(S3,B3);

Plot(8,"",IIf(UP3,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleThick,0,200,0,-5,8);
//Plot(4,"",IIf(UP2,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
//Plot(2,"",IIf(UP1,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleNoLine|styleDots,0,200);
_SECTION_END();
Can you describe the exact conditions(logically) as to when to buy, when to sell etc.
Basically in one post, can u consolidate buy and short entry criteria, and subsequent sell and cover criteria, so that we can proceed further. :D

(If your answer is that buy as soon as red ribbon changes to blue, then in my opinion no need to put an extra buy/sell arrow)
 

XRAY27

Well-Known Member
Small help from needed from ami expert !!! i want thick shadow for candlestick !!! is that is possible in ami or any code for this !!!

TIA
 
Small help from needed from ami expert !!! i want thick shadow for candlestick !!! is that is possible in ami or any code for this !!!

TIA
Bhai, don't know what you will do with thick shadows :D

Not sure if AB supports it as default mode, but surely some simple code can do the trick :D


Code:
T = Param("Thickness",2,1,9,1);
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
BarCol = IIf(C>O,colorBlueGrey,colorRed);
Plot( C, "Close", BarCol, styleNoTitle | styleCandle | styleThick,0,0,0,0,3 ); 
A = Max(O,C);
B = Min(O,C);
PlotOHLC(A,H,A,A,"",BarCol,styleBar|styleThick|styleNoLabel,0,0,0,0,T); 
PlotOHLC(B,B,L,B,"",BarCol,styleBar|styleThick|styleNoLabel,0,0,0,0,T); 
_SECTION_END();
btw, use the parameter T to adjust the thickness :thumb:

Happy :)
 

XRAY27

Well-Known Member
Bhai, don't know what you will do with thick shadows :D

Not sure if AB supports it as default mode, but surely some simple code can do the trick :D


Code:
T = Param("Thickness",2,1,9,1);
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
BarCol = IIf(C>O,colorBlueGrey,colorRed);
Plot( C, "Close", BarCol, styleNoTitle | styleCandle | styleThick,0,0,0,0,3 ); 
A = Max(O,C);
B = Min(O,C);
PlotOHLC(A,H,A,A,"",BarCol,styleBar|styleThick|styleNoLabel,0,0,0,0,T); 
PlotOHLC(B,B,L,B,"",BarCol,styleBar|styleThick|styleNoLabel,0,0,0,0,T); 
_SECTION_END();
btw, use the parameter T to adjust the thickness :thumb:

Happy :)
:D Think shadows ..just to view low and highs..without any OVER LOOK :lol:..nothing special ..thanks for the help
 

Similar threads