amibroker afl code needed

I have a Amibroker strategy with buy/sell and short/cover conditions.

(I have only very basic idea about afl )

I plan to use it with algo system to place order in terminal.

Some times it is repainting. To avoid it I can use some thing like Buy=ref(buy,-1);

On referring previous candle to place order, slippage of price is more.

So I want to use buy or short condition in current bar only with taking some risk.

Is it possible to use static variable in these conditions?

My requirement is as follows.

[login to view URL] buy/short signal comes in AMI , Buy/short order is placed.

[login to view URL] open of the next candle, AFL has to check the previous bar has the signal or not.

[login to view URL] signal present, nothing to be done.

[login to view URL] no signal (repainting signal) in previous candle, exit the position immediately with sell/cover order.

I think this order details will not be shown in backtesting. But that is not a [login to view URL] I want to place order on a signal and want to exit on next bar , if it is a false signal.

I need afl code for this particular function, that can be added with any of my afl with buy sell conditions.

Aptitudini: Metatrader, Programare C++, Programare C, Arhitectură software, PHP

Vezi mai multe: amibroker afl tutorial pdf, beginner's guide to amibroker afl programming pdf, amibroker afl community, afl forum amibroker, afl coding software, amibroker formula language book pdf, amibroker afl code writing, afl code wizard, afl code amibroker, convert afl code amibroker dll, hide afl code amibroker, amibroker afl code hide dll, amibroker afl code protect, secure afl code amibroker, default afl code amibroker, write afl code amibroker, system amibroker afl code, amibroker afl code dll file, afl code amibroker mt4, low amibroker afl code

Despre angajator:
( 0 recenzii ) Chennai, India

ID Proiect: #22719013

2 freelanceri licitează în medie 4250₹ pentru acest proiect


Yes It can be achieved using static variable. but it can not be show in backtest and exploration . If you want I can code this for you.

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% INR în 7 zile
(3 recenzii)

I am a Forex Trading Expert, Programmer and Software Developer with 10 years of experience in all forex coding and other programming. I am well skilled and experienced with Trading BOT, Metatrader (MT4/5), various EA & Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% INR în 2 zile
(1 părere)