Simple Coding Help - No Promise.

vijkris

Learner and Follower
hi i want afl format for the following mql format

it is supporting trend indicator which helps to reduce losses

kindly help


#p
Pls see the first post of this thread, highlighted in bold.
You should open a new thread to attract other coders who might be interested in doing conversions.

Hello Friends

I am starting this thread for helping anyone who requires small changes in AFLs or AFL coding done for small / simple requirements that can be clearly defined.

What does not go is conversion . . . from Amibroker to anything else . . . or from anything else to Amibroker . . .

Debugging requested for copy/paste AFLs, Please don't post huge AFLs with zillions of lines of code for debugging

I will not be available for any conversions and I am not interested in debugging some-one else's copy/pasted work and lastly . . .
Not interested in hacking/craking any ones work . . .

Only if have a clearly definable task to be coded I maybe able to help . . . No Promises but will try within my limitations . . .


As an example, recently one of our friends wanted a motivational message to be included in his Charts,
I enjoyed doing that, as i could easily empathize with why he wanted that . . .


Cheers

:) Happy
 
Dear Happy Ji
Highly appreciate the help you are giving to all!!!!!
Please help in this also


Execute_RoboTrade("Profit Earner");
this shows syntax error 30 what is wrong with it


((C1+O1)/2)>C AND O>C AND O>C1 AND C>O1 AND (O-C)/(.001+(H-L)>0.6)); }
this is showing warning 505 devision by zero
please help
 
dear Happr ji

I appretiate the help you are providing
please help me also to cross this this hurdle.....

((C1+O1)/2)>C AND O>C AND O>C1 AND C>O1 AND (O-C)/(.001+(H-L)>0.6)); }
This is showing error 505 devision by zero

also
Execute_RoboTrade("Profit Earner");
this is showing syntax error 30

please help
regards
 

chintan786

Well-Known Member
Dear Happy,
Need help regarding below condition:
Calculate the Difference between the averaged High and averaged Low and plot the 5-day simple moving average of this difference.
Average High and Average Low have 5 days period. wants to plot this as moving average on Amibroker.
 
Dear Happy,
Need help regarding below condition:
Calculate the Difference between the averaged High and averaged Low and plot the 5-day simple moving average of this difference.
Average High and Average Low have 5 days period. wants to plot this as moving average on Amibroker.
Diff = MA(MA(H,5) - MA(L,5), 5);

You won't be able to plot this on Price chart, try plotting it on seperate pane maybe as histogram


Happy :)
 
Dear Friends,

Possible to make an alert/scanner with buy/sellarrow realtime like shown in the pic.

The AFL is from Varunji thread about OBV :

Code:


Possible or it repaints/looks into the future ... ??
For Scanner add this code and USE SCAN

Code:
Buy = B1 AND B2;
Short = S1 AND S2;

// or add this and USE EXPLORE
Code:
Buy = B1 AND B2;
Short = S1 AND S2;Filter = Buy OR Short;
AddTextColumn("SIGNAL","Signal",0,IIf(Buy,colorBlue,colorRed));
Happy :)
 

Similar threads