Find Jobs
Hire Freelancers

Add indicator (filter) to buy sell condition in Amibroker AFL

₹600-1500 INR

完了済み
投稿日: 10年以上前

₹600-1500 INR

完了時にお支払い
I have a Amibroker AFL I want to add indicator as filter to the signal to reduce whipsaws, Indicator is ready and when added is not giving signal at required place, Coder need to modify condition to get signals at proper place Filter indicator : Plot buy only if price closes in blue ribbon and plot sell only if price closes in red ribbon main system afl and indicator code _SECTION_BEGIN("EASY FINAL HEIN"); HACLOSE=(O+H+L+C)/4; HaOpen = AMA( Ref( HaClose, -1 ), 0.5 ); HaHigh = Max( H, HaOpen ); HaLow = Min( L, HaOpen ); _SECTION_BEGIN("SmmA"); per=Param("Major MA",5,5,200,10); mmaH=EMA(H,per); smmaH=EMA(mmaH,per); mmaL=EMA(L,per); smmaL=EMA(mmaL,per); mycEH=IIf(HaClose>smmaH,colorBlue, IIf(HaCLose<smmaL,colorRed,//31)); IIf(HaClose<smmaH AND HaCLose>smmaL ,colorYellow,31))); _SECTION_END(); _SECTION_BEGIN("Trend Reversal"); TDO = Open; // current open TDH = High; // current high TDL = Low; // current low TDC = Close; // current close PDO = Ref(Open,-1); // last candle Open PDH = Ref(High,-1); // last candle high PDL = Ref(Low,-1); // last candle low PDC = Ref(Close,-1); // last candle close slow = LLV(Low, 21); shigh = HHV(High, 21); Plot(shigh,"",colorYellow,styleLine); Plot(slow,"",colorYellow,styleLine); bull=((H-L)/2)+L; bear=H-((H-L)/2); BRev = TDL == LLV(Low, 11); SRev = TDH == HHV(High, 11); BTR = PDL == LLV(Low, 11); STR = PDH == HHV(High, 11); BB = Ref(Low,-1) == LLV(Low, 11); SS = Ref(High,-1) == HHV(High, 11); BuyX= BRev AND PDL>TDL AND TDC>PDC AND TDC>TDO AND C>bull; ShortX= SRev AND PDH<TDH AND TDC<PDC AND TDC<TDO AND C<bear; BuyY= BTR AND TDO>PDC AND TDC>TDO AND TDL>PDC AND C>bull; ShortY= STR AND TDO<PDC AND TDC<TDO AND TDL<PDC AND C<bear; BuyZ=(BB AND Ref(L,-1)<Ref(L,-2) AND Ref(L,-1)<L AND C>Ref(H,-1)) OR (BTR AND Ref(L,-1)<Ref(L,-2) AND Ref(L,-1)<L AND C>Ref(H,-1)); ShortZ=(SS AND Ref(H,-1)>Ref(H,-2) AND Ref(H,-1)>H AND C<Ref(L,-1)) OR (STR AND Ref(H,-1)>Ref(H,-2) AND Ref(H,-1)>H AND C<Ref(L,-1)); Buy= (BuyX OR BuyY OR BuyZ) AND HaClose>smmaH; Sell=L < Ref(LLV(L, 11), -1); Short= (ShortX OR ShortY OR ShortZ) AND HaCLose<smmaL; Cover=H > Ref(HHV(H, 11), -1); Buy=ExRem(Buy,Sell); Short=ExRem(Short,Cover); Sell=ExRem(Sell,Buy); Cover=ExRem(Cover,Short); PlotShapes(Buy* shapeSquare,colorSkyblue, 0, L, Offset=-40); PlotShapes(Buy* shapeSquare,colorSkyblue, 0,L, Offset=-50); PlotShapes(Buy* shapeUpArrow,colorBlue, 0,L, Offset=-45); PlotShapes(Short* shapeSquare,colorPink, 0, H, Offset=40); PlotShapes(Short* shapeSquare,colorPink, 0,H, Offset=50); PlotShapes(Short* shapeDownArrow,colorRed, 0,H, Offset=-45); PlotShapes(Sell*shapeHollowDownArrow,colorPink,0,L,-45); PlotShapes(Cover*shapeHollowUpArrow,colorSkyblue,0,H,-45); _SECTION_END(); _SECTION_BEGIN( "Price" ); SetChartOptions( 0, chartShowDates | chartShowArrows | chartLogarithmic | chartWrapTitle ); _N( Title = StrFormat( "{{NAME}} - " + SectorID( 1 ) + " - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal( V, 1.0 ) + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) ); Plot( C, "Close", colorRose, styleCandle | styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() ); _SECTION_END();
プロジェクト ID: 5371601

プロジェクトについて

4個の提案
リモートプロジェクト
アクティブ 10年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Hello, I have expertise in Amibroker and completed many projects here on freelancer. I think the signal filter band afl is not posted with project. Looking forward to work with you on this project. Thanking you, Joy Sebastian
₹1,500 INR 3日以内
5.0 (10 レビュー)
4.0
4.0
この仕事に4人のフリーランサーが、平均₹2,160 INRで入札しています
ユーザーアバター
A proposal has not yet been provided
₹1,500 INR 30日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
please pay milestone of INR 1750. let us begin with this project straight away.......................
₹1,750 INR 3日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

INDIAのフラグ
Ichalkaranji, India
4.9
6
お支払い方法確認済み
メンバー登録日:12月 24, 2010

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。