- Search Metals Mine
- 42 Results
- Ernie11 replied Sep 25, 2021
Hello Coders, Could anyone please help me out with this problem. My Lots are not calculating correctly for symbols like JPY. Thanks
- Ernie11 replied Sep 23, 2021
Hello Everyone, Also I was wondering if its possible that when I hit long or short on my EA that the EA looks for a horizontal line (maybe something else) and it opens a trade with the stoploss at that horizontal line with the risk adjusted and ...
- Ernie11 replied Sep 23, 2021
Hello Everyone, I still haven't been able to fix this EA to trade on JPY, Oil, ect. The ones that are not 5 digit decimals. Seems its calculating the lots wrong. Could someone help me out with it? Thanks.
- Ernie11 replied Aug 30, 2021
Anyone have an idea? Thanks.
- Ernie11 replied Aug 30, 2021
Hello Everyone, Im a bit stuck on a code. The below buy order works for pairs that have 5 decimals but when I try to trade one that has 3 decimals (JPY) it doesnt work correctly. It calculates as if its still 5 decimals. The first part is in "int ...
- Ernie11 replied Jul 7, 2020
Hello, Im using the attached indicator in an EA but I notice its a very heavy indicator. In 24 hours it has only processed 6 months on a 1 hour chart on the backtester. Is there a way to make this indicator less process intensive so the back testing ...
- Ernie11 replied Jun 17, 2020
Hello. Anyone got an idea? Anything that might direct me in the correct direction to investigate?
- Ernie11 replied May 1, 2020
Hello, So for what I understood, you guys think that taking 2 or more longs or 2 or more shorts on the same currency but different pairs is like doubling down. You are betting on the same thing and in effect risking more than normal on the same bet? ...
- Ernie11 replied Oct 6, 2019
Hello Everyone, Im trying to add Didi Index to my EA but I cant get the buffers to show the values. They all give me the max value all the time. Seems the indicator doesnt update in the strategy tester. Does anyone have the Didi Index indicator that ...
- Ernie11 replied Jan 13, 2019
Hello Nicholishen, Thank you for the reply. I have gone over the code you sent and notice a completely different style of writing code haha. Thank you for the information. I ran your code and modified it a little but I only get about 20-30 orders a ...
- Ernie11 replied Jan 6, 2019
Hello, Below is my code. I tried to add the () around the false and true but still doesnt compile. extern double Risk_Percent = 0.02; input ENUM_TIMEFRAMES TimeFrame = PERIOD_M15; extern int Channel_Period = 20; extern double Scale_Ratio = 1; extern ...
- Ernie11 replied Jan 6, 2019
Hello, Sorry for the late reply. Im trying to go down the loop route but I get 6 errors and 2 warnings when I tried to compile. What am I doing wrong? Errors: 'DC_High_Descending' - function can be declared only in the global scope 'Donchian_High' - ...
- Ernie11 replied Feb 2, 2016
Hi Everyone, I have a few questions. What time frames do you use? What filters do you use? Do you wait for candle to close before entering?
- Ernie11 replied Dec 21, 2015
Hello Everyone, I am thinking of trying this on the side and was wondering if a 200 smoothed MA would be better for the trend on the 4H and 1D? I noticed that when I put a 200 SMA the MAs cancel out each other a lot (resulting a no trades or very ...
- Ernie11 replied Sep 15, 2015
cyber1. Ok thank you. I had never thought about updating once per, neat idea. I like to code as much as possible myself but when I get stuck I ask for help on that part only and keep going. Anything else you think I should add to help with the money ...
- Ernie11 replied Sep 13, 2015
Hi cyber1. Im not getting anymore of the errors and I got it to trail the bid/ask after reaching the start point (BEPoint) as you put it. I do have a question about your code though. The part that calls the Trailing_Control is only activated once ...
- Ernie11 replied Sep 13, 2015
Hi cyber1. I noticed im getting quite a bit of OrderModify 130s from running it. Do you know why? Also it moves the stoploss to the % inputted but doesnt trail it from there, I will try to add this part with what you wrote.
- Ernie11 replied Sep 13, 2015
Hi cyber1. Thank you for the help, I just ran it once to see if it runs and it does. First time I implement the money management part so will see how that works out. This is suppose to help so one trade isnt bigger than the other.
- Ernie11 replied Sep 12, 2015
I will attach the EA. Everything thats a print I put in trying to trouble shoot it. I noticed that the OrderOpenPrice() in the Buy Logic isnt the same as the open price when backtesting. Thank you for taking the time to look at it.
- Ernie11 replied Sep 12, 2015
Thank you for the reply. I got it working by doing Risk_Percent*0.01 instead of Risk_Percent/100. Dont know why one works and the other doesn't, they both give the same answer. If I made the Risk_Percent a double I wouldn't be able to change it from ...