Lavoro terminato
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specifiche
2) Buy Entry is when:
2.1 Current Price is equal to Grid Price Level
2.2 Price > KAMA
2.3 VI+ > VI- = ... (... is user input. When 0 is input, it must mean VI+>VI-. (Please see the code for reference)
2.4 No open position in that Price Level
3) Sell Entry is when:
3.1 Current Price is qual to Grid Price Level
3.2 Price < KAMA
3.3 VI+ < VI- =... (... is user input. When 0 is input, it must mean VI+,VI- (Please see the code for reference)
*Currently there is a function to enable and disable signal, but it can only enable both KAMA and Vortex Indicator signal.
I need to implement this part. To be able to enable/disable signal separately. (To use both KAMA and Vortex, to use only KAMA, or to use Only Vortex)
There shall be two modes to choose: Arithmetic Grid (The distance between grid is constant in price unit) and Geometric Grid (The distance between Grid is constant in percentage).
*In current coding, it can choose both mode which is call price level and price percent. The price level part works fine with Arithmetic Grid price level structure.
However, the calculation in geometric part is not function properly as the calculation is in correct. Please help implement this part.
I have VIDYA as an alternative to KAMA left in my MQL4 code, you can choose to eliminate it or migrate it to MQL$ (There is built-in VIDYA in MQL5).
I attached the file to give you example for Arithmetic and Geometric Grid Price Level Calculation
Need source code file when finish the job.